core: Rename container mod to collections. Closes #12543

Also renames the `Container` trait to `Collection`.

[breaking-change]
This commit is contained in:
Brian Anderson
2014-05-19 11:32:09 -07:00
committed by Alex Crichton
parent 443a1cdf94
commit 50942c7695
46 changed files with 64 additions and 65 deletions

View File

@@ -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 {