diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-10-22 12:43:50 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-10-22 12:43:50 -0400 |
| commit | 7aa39a60ddc8bcf43dd5c51754da9a681335156f (patch) | |
| tree | 7c491feee5cdb30628f14fd13574871578801f68 | |
| parent | 7b608dfacd024c27039ffbded5c7951ab30ece15 (diff) | |
| parent | 3673978539227f3674afb50e4f7943aea3b19173 (diff) | |
| download | rust-7aa39a60ddc8bcf43dd5c51754da9a681335156f.tar.gz rust-7aa39a60ddc8bcf43dd5c51754da9a681335156f.zip | |
Rollup merge of #29224 - wesleywiser:patch-2, r=alexcrichton
Fixes #29219
| -rw-r--r-- | src/libstd/io/cursor.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/io/cursor.rs b/src/libstd/io/cursor.rs index 7bca5359690..e4f00c4874e 100644 --- a/src/libstd/io/cursor.rs +++ b/src/libstd/io/cursor.rs @@ -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]); /// } |
