about summary refs log tree commit diff
path: root/src/libstd/io
diff options
context:
space:
mode:
authoradrian5 <adrian5@users.noreply.github.com>2017-08-17 00:46:30 +0200
committerGitHub <noreply@github.com>2017-08-17 00:46:30 +0200
commitc9f99924192e5c3a8d120eb36bcf96419b3fc7e0 (patch)
tree73606a24552a17d5afbe6ff30f092cff28aae152 /src/libstd/io
parent3f94b7103bef77b22ff436b148792834b9e44065 (diff)
downloadrust-c9f99924192e5c3a8d120eb36bcf96419b3fc7e0.tar.gz
rust-c9f99924192e5c3a8d120eb36bcf96419b3fc7e0.zip
Fix typo in doc
Diffstat (limited to 'src/libstd/io')
-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 d986021a18b..32a92145aaf 100644
--- a/src/libstd/io/cursor.rs
+++ b/src/libstd/io/cursor.rs
@@ -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]);