Skip to content

Commit c166fd3

Browse files
committed
rollup merge of #22457: steveklabnik/gh22361
FIxes #22361
2 parents fd5403a + 0a795c2 commit c166fd3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/libcollections/ring_buf.rs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
//! This crate implements a double-ended queue with `O(1)` amortized inserts and removals from both
12-
//! ends of the container. It also has `O(1)` indexing like a vector. The contained elements are
13-
//! not required to be copyable, and the queue will be sendable if the contained type is sendable.
11+
//! RingBuf is a double-ended queue, which is implemented with the help of a growing circular buffer.
12+
//!
13+
//! This queue has `O(1)` amortized inserts and removals from both ends of the container. It also
14+
//! has `O(1)` indexing like a vector. The contained elements are not required to be copyable, and
15+
//! the queue will be sendable if the contained type is sendable.
1416
1517
#![stable(feature = "rust1", since = "1.0.0")]
1618

0 commit comments

Comments
 (0)