]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #39165 - frewsxcv:slice, r=GuillaumeGomez
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Thu, 19 Jan 2017 10:56:12 +0000 (11:56 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Jan 2017 10:56:12 +0000 (11:56 +0100)
A few improvements to the slice docs.

* Simplify `Option::iter_mut` doc example.
* Document 'empty' corner-cases for `slice::{starts_with, ends_with}`.
* Indicate 'true' as code-like.

1  2 
src/libcollections/slice.rs

Simple merge