about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-09 18:40:19 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-09 18:40:19 +0530
commit511a8d47ebc9791e9b564807a370e59b0a83f13c (patch)
tree08d010750e4e09312bddfef9485be7717fd75424
parentac478ecb504a9731268798a95e787a1434bc769c (diff)
parenta29dc05c932bda1b88f1afc6a92d6c3f72790b88 (diff)
downloadrust-511a8d47ebc9791e9b564807a370e59b0a83f13c.tar.gz
rust-511a8d47ebc9791e9b564807a370e59b0a83f13c.zip
Rollup merge of #25227 - jooert:bitvec-doc-fix, r=alexcrichton
I forgot this in #24890.
-rw-r--r--src/libcollections/bit.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libcollections/bit.rs b/src/libcollections/bit.rs
index 1271a6276ae..17e937c5af2 100644
--- a/src/libcollections/bit.rs
+++ b/src/libcollections/bit.rs
@@ -644,6 +644,10 @@ impl BitVec {
     /// Splits the `BitVec` into two at the given bit,
     /// retaining the first half in-place and returning the second one.
     ///
+    /// # Panics
+    ///
+    /// Panics if `at` is out of bounds.
+    ///
     /// # Examples
     ///
     /// ```