diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-09-30 12:42:47 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-09-30 12:42:47 -0400 |
| commit | d310ad95479369c75bfcd4f126f0b6accc1aaee6 (patch) | |
| tree | 269279914d851dfb8035d624f90d77e60c287d75 | |
| parent | 3e6d7243ae9749eff27fd320cb422e42291e79d4 (diff) | |
| download | rust-d310ad95479369c75bfcd4f126f0b6accc1aaee6.tar.gz rust-d310ad95479369c75bfcd4f126f0b6accc1aaee6.zip | |
Format panic docs for split_at
Fixes #28384
| -rw-r--r-- | src/libcollections/slice.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcollections/slice.rs b/src/libcollections/slice.rs index 76bdd6dbea1..dabfd168c89 100644 --- a/src/libcollections/slice.rs +++ b/src/libcollections/slice.rs @@ -455,6 +455,8 @@ impl<T> [T] { /// the index `mid` itself) and the second will contain all /// indices from `[mid, len)` (excluding the index `len` itself). /// + /// # Panics + /// /// Panics if `mid > len`. /// /// # Examples |
