Skip to content

Commit c8bd9d2

Browse files
committed
Remove mention of Dequeue in collections docs.
https://botbot.me/mozilla/rust/2014-12-07/?msg=27003846&page=20
1 parent 558f8d8 commit c8bd9d2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/libcollections/dlist.rs

-3
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@
1111
//! A doubly-linked list with owned nodes.
1212
//!
1313
//! 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`.
1714
1815
// DList is constructed like a singly-linked list over the field `next`.
1916
// including the last link being None; each Node owns its `next` field.

src/libcollections/ring_buf.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//! This crate implements a double-ended queue with `O(1)` amortized inserts and removals from both
1212
//! ends of the container. It also has `O(1)` indexing like a vector. The contained elements are
1313
//! 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`.
1514
1615
use core::prelude::*;
1716

@@ -35,7 +34,7 @@ static MINIMUM_CAPACITY: uint = 2u;
3534
// FIXME(conventions): implement shrink_to_fit. Awkward with the current design, but it should
3635
// be scrapped anyway. Defer to rewrite?
3736

38-
/// `RingBuf` is a circular buffer that implements `Deque`.
37+
/// `RingBuf` is a circular buffer.
3938
pub struct RingBuf<T> {
4039
// tail and head are pointers into the buffer. Tail always points
4140
// to the first element that could be read, Head always points

0 commit comments

Comments
 (0)