Document panic behaviour of BitVec::split_off

This commit is contained in:
Johannes Oertel 2015-05-09 00:41:38 +02:00
parent 05d5fcaa5b
commit a29dc05c93

View File

@ -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
///
/// ```