mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
Document panic behaviour of BitVec::split_off
This commit is contained in:
parent
05d5fcaa5b
commit
a29dc05c93
@ -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
|
||||
///
|
||||
/// ```
|
||||
|
Loading…
Reference in New Issue
Block a user