File tree 2 files changed +1
-5
lines changed
2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 11
11
//! A doubly-linked list with owned nodes.
12
12
//!
13
13
//! The `DList` allows pushing and popping elements at either end.
14
- //!
15
- //! `DList` implements the trait `Deque`. It should be imported with
16
- //! `use collections::Deque`.
17
14
18
15
// DList is constructed like a singly-linked list over the field `next`.
19
16
// including the last link being None; each Node owns its `next` field.
Original file line number Diff line number Diff line change 11
11
//! This crate implements a double-ended queue with `O(1)` amortized inserts and removals from both
12
12
//! ends of the container. It also has `O(1)` indexing like a vector. The contained elements are
13
13
//! not required to be copyable, and the queue will be sendable if the contained type is sendable.
14
- //! Its interface `Deque` is defined in `collections`.
15
14
16
15
use core:: prelude:: * ;
17
16
@@ -35,7 +34,7 @@ static MINIMUM_CAPACITY: uint = 2u;
35
34
// FIXME(conventions): implement shrink_to_fit. Awkward with the current design, but it should
36
35
// be scrapped anyway. Defer to rewrite?
37
36
38
- /// `RingBuf` is a circular buffer that implements `Deque` .
37
+ /// `RingBuf` is a circular buffer.
39
38
pub struct RingBuf < T > {
40
39
// tail and head are pointers into the buffer. Tail always points
41
40
// to the first element that could be read, Head always points
You can’t perform that action at this time.
0 commit comments