Skip to content

Commit 511a8d4

Browse files
committed
Rollup merge of #25227 - jooert:bitvec-doc-fix, r=alexcrichton
I forgot this in #24890.
2 parents ac478ec + a29dc05 commit 511a8d4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/libcollections/bit.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,10 @@ impl BitVec {
644644
/// Splits the `BitVec` into two at the given bit,
645645
/// retaining the first half in-place and returning the second one.
646646
///
647+
/// # Panics
648+
///
649+
/// Panics if `at` is out of bounds.
650+
///
647651
/// # Examples
648652
///
649653
/// ```

0 commit comments

Comments
 (0)