Skip to content

Commit

Permalink
Rollup merge of rust-lang#43915 - adrian5:patch-1, r=sfackler
Browse files Browse the repository at this point in the history
Fix typo in doc
  • Loading branch information
frewsxcv authored Aug 17, 2017
2 parents 12bbae9 + c9f9992 commit 32bd145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/io/cursor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ use io::{self, Initializer, SeekFrom, Error, ErrorKind};
/// // now let's write a test
/// #[test]
/// fn test_writes_bytes() {
/// // setting up a real File is much more slow than an in-memory buffer,
/// // setting up a real File is much slower than an in-memory buffer,
/// // let's use a cursor instead
/// use std::io::Cursor;
/// let mut buff = Cursor::new(vec![0; 15]);
Expand Down

0 comments on commit 32bd145

Please sign in to comment.