]> git.lizzy.rs Git - rust.git/commit
Add `debug_assert!`s to `slice::from_raw_parts`
authorTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 4 Sep 2018 09:22:25 +0000 (11:22 +0200)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Tue, 4 Sep 2018 09:39:28 +0000 (11:39 +0200)
commit7b77508e233c724bcaf9821f62dbe45dc4b4cdb3
tree64542afe21ddf99222c99509c2b26deeeed97097
parent1975b8d21b21d5ede54494d0b7661d6ac14ec6a2
Add `debug_assert!`s to `slice::from_raw_parts`

Copy the documentation over to `slice::from_raw_parts_mut`.
src/libcore/slice/mod.rs