mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
Rollup merge of #29224 - wesleywiser:patch-2, r=alexcrichton
Fixes #29219
This commit is contained in:
commit
7aa39a60dd
@ -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]);
|
||||
/// }
|
||||
|
Loading…
Reference in New Issue
Block a user