diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2014-12-07 14:12:01 -0500 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2014-12-07 14:24:57 -0500 |
| commit | c8bd9d2beb863d08cfca3503aef67a9cc7b7fd7e (patch) | |
| tree | 2031815d5c95ee88c38c440fe6776d47256e291c /src | |
| parent | 558f8d8e3ea6b7da3d6d338740637149a7e45840 (diff) | |
| download | rust-c8bd9d2beb863d08cfca3503aef67a9cc7b7fd7e.tar.gz rust-c8bd9d2beb863d08cfca3503aef67a9cc7b7fd7e.zip | |
Remove mention of Dequeue in collections docs.
https://botbot.me/mozilla/rust/2014-12-07/?msg=27003846&page=20
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcollections/dlist.rs | 3 | ||||
| -rw-r--r-- | src/libcollections/ring_buf.rs | 3 |
2 files changed, 1 insertions, 5 deletions
diff --git a/src/libcollections/dlist.rs b/src/libcollections/dlist.rs index 39cdf0c4564..edef37d4b85 100644 --- a/src/libcollections/dlist.rs +++ b/src/libcollections/dlist.rs @@ -11,9 +11,6 @@ //! A doubly-linked list with owned nodes. //! //! The `DList` allows pushing and popping elements at either end. -//! -//! `DList` implements the trait `Deque`. It should be imported with -//! `use collections::Deque`. // DList is constructed like a singly-linked list over the field `next`. // including the last link being None; each Node owns its `next` field. diff --git a/src/libcollections/ring_buf.rs b/src/libcollections/ring_buf.rs index e11ba35367e..695eda11216 100644 --- a/src/libcollections/ring_buf.rs +++ b/src/libcollections/ring_buf.rs @@ -11,7 +11,6 @@ //! This crate implements a double-ended queue with `O(1)` amortized inserts and removals from both //! ends of the container. It also has `O(1)` indexing like a vector. The contained elements are //! not required to be copyable, and the queue will be sendable if the contained type is sendable. -//! Its interface `Deque` is defined in `collections`. use core::prelude::*; @@ -35,7 +34,7 @@ static MINIMUM_CAPACITY: uint = 2u; // FIXME(conventions): implement shrink_to_fit. Awkward with the current design, but it should // be scrapped anyway. Defer to rewrite? -/// `RingBuf` is a circular buffer that implements `Deque`. +/// `RingBuf` is a circular buffer. pub struct RingBuf<T> { // tail and head are pointers into the buffer. Tail always points // to the first element that could be read, Head always points |
