diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-09 18:40:19 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-05-09 18:40:19 +0530 |
| commit | 511a8d47ebc9791e9b564807a370e59b0a83f13c (patch) | |
| tree | 08d010750e4e09312bddfef9485be7717fd75424 | |
| parent | ac478ecb504a9731268798a95e787a1434bc769c (diff) | |
| parent | a29dc05c932bda1b88f1afc6a92d6c3f72790b88 (diff) | |
| download | rust-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.rs | 4 |
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 /// /// ``` |
