Rollup merge of #29224 - wesleywiser:patch-2, r=alexcrichton

Fixes #29219
This commit is contained in:
Steve Klabnik 2015-10-22 12:43:50 -04:00
commit 7aa39a60dd

View File

@ -69,7 +69,7 @@ use slice;
/// use std::io::Cursor;
/// let mut buff = Cursor::new(vec![0; 15]);
///
/// write_ten_bytes(&mut buff).unwrap();
/// write_ten_bytes_at_end(&mut buff).unwrap();
///
/// assert_eq!(&buff.get_ref()[5..15], &[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]);
/// }