]> git.lizzy.rs Git - rust.git/commit
Make slice::split_at_mut example demonstrate mutability
authorNiels Egberts <github@nielsegberts.nl>
Mon, 4 Sep 2017 21:59:34 +0000 (22:59 +0100)
committerNiels Egberts <github@nielsegberts.nl>
Mon, 4 Sep 2017 21:59:34 +0000 (22:59 +0100)
commit69c472897fb74ba98584c9b33f60ca6f04b04afe
tree1300ae0e871bd14f70fe1b72485faa6a3da012fa
parent088216fb997c9cb12ce049bbe7975d1f657551ca
Make slice::split_at_mut example demonstrate mutability

Moved the examples from split_at_mut to split_at so the example at
split_at_mut can just demonstrate mutability.
src/liballoc/slice.rs