core: Rename container mod to collections. Closes #12543
Also renames the `Container` trait to `Collection`. [breaking-change]
This commit is contained in:
committed by
Alex Crichton
parent
443a1cdf94
commit
50942c7695
@@ -775,7 +775,7 @@ impl<'t> Captures<'t> {
|
||||
}
|
||||
}
|
||||
|
||||
impl<'t> Container for Captures<'t> {
|
||||
impl<'t> Collection for Captures<'t> {
|
||||
/// Returns the number of captured groups.
|
||||
#[inline]
|
||||
fn len(&self) -> uint {
|
||||
|
||||
Reference in New Issue
Block a user