about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorPieter Penninckx <Pieter.Penninckx@scarlet.be>2018-01-21 15:05:53 +0100
committerPieter Penninckx <Pieter.Penninckx@scarlet.be>2018-01-21 15:05:53 +0100
commitea814b84630ee878c18ad1abff47a0e5236a2ad5 (patch)
treead7cb5a3df727fc8038e49b8c4ff40e741baf4ff /src/liballoc
parent81e6840ff445f5eb9c99ba506aa89b8fc2a1a4c7 (diff)
downloadrust-ea814b84630ee878c18ad1abff47a0e5236a2ad5.tar.gz
rust-ea814b84630ee878c18ad1abff47a0e5236a2ad5.zip
Revert change to docs in panic section of VecDeque::split_off
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/vec_deque.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liballoc/vec_deque.rs b/src/liballoc/vec_deque.rs
index 7d15b790b24..4b167bd20bf 100644
--- a/src/liballoc/vec_deque.rs
+++ b/src/liballoc/vec_deque.rs
@@ -1635,7 +1635,7 @@ impl<T> VecDeque<T> {
     ///
     /// # Panics
     ///
-    /// Panics if `at` is out of bounds.
+    /// Panics if `at > len`.
     ///
     /// # Examples
     ///