]> git.lizzy.rs Git - rust.git/commitdiff
Remove mention of Dequeue in collections docs.
authorSteve Klabnik <steve@steveklabnik.com>
Sun, 7 Dec 2014 19:12:01 +0000 (14:12 -0500)
committerSteve Klabnik <steve@steveklabnik.com>
Sun, 7 Dec 2014 19:24:57 +0000 (14:24 -0500)
  https://botbot.me/mozilla/rust/2014-12-07/?msg=27003846&page=20

src/libcollections/dlist.rs
src/libcollections/ring_buf.rs

index 39cdf0c456413d48f81393993d3168591c525e64..edef37d4b856717d1a87a34c4fc1b0b0f0daaa33 100644 (file)
@@ -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.
index e11ba35367e2eb56770887eb8e3ea9cdb9f18af6..695eda11216a47de548891d4e87e667b4ee49df3 100644 (file)
@@ -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 @@
 // 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