diff options
| author | Brian Anderson <banderson@mozilla.com> | 2014-05-19 11:32:09 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-06-08 21:29:57 -0700 |
| commit | 50942c7695783875bd2161596036a52755ffb09c (patch) | |
| tree | 0d8ddd4e8d3a58c33de17eeb966684f6796d4547 /src/libcollections/priority_queue.rs | |
| parent | 443a1cdf949fad31c5a851be02017d09ce09f318 (diff) | |
| download | rust-50942c7695783875bd2161596036a52755ffb09c.tar.gz rust-50942c7695783875bd2161596036a52755ffb09c.zip | |
core: Rename `container` mod to `collections`. Closes #12543
Also renames the `Container` trait to `Collection`. [breaking-change]
Diffstat (limited to 'src/libcollections/priority_queue.rs')
| -rw-r--r-- | src/libcollections/priority_queue.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/priority_queue.rs b/src/libcollections/priority_queue.rs index 34d6bbbb665..f10c6f230ae 100644 --- a/src/libcollections/priority_queue.rs +++ b/src/libcollections/priority_queue.rs @@ -26,7 +26,7 @@ pub struct PriorityQueue<T> { data: Vec<T>, } -impl<T: Ord> Container for PriorityQueue<T> { +impl<T: Ord> Collection for PriorityQueue<T> { /// Returns the length of the queue fn len(&self) -> uint { self.data.len() } } |
