about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-10-22 18:26:27 +0000
committerbors <bors@rust-lang.org>2015-10-22 18:26:27 +0000
commit7beebbe564fa0c93c7c224c75c98a81c23ed42d9 (patch)
treed317771e907b58ba09e45e507ec6836c749eb427 /src/libstd
parent83cf3ce4981e2ff1a3d7629665b7ec884adbb9de (diff)
parentb51d5e10b23faaec609cd3ee9b2662b84625ef64 (diff)
Auto merge of #29236 - steveklabnik:rollup, r=steveklabnik
- Successful merges: #29170, #29180, #29193, #29207, #29213, #29224, #29230
- Failed merges: 
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/cursor.rs2
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]);
 /// }