summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-08-17 10:44:11 -0400
committerGitHub <noreply@github.com>2017-08-17 10:44:11 -0400
commit32bd145f6073ac4bbd8f4ed9e8e3df9a69c963d1 (patch)
tree6018099ff939bd0bf67af15233bc76077cf936df /src/libstd
parent12bbae95f42632b5d9b8a4bb657e3addacb4cfdf (diff)
parentc9f99924192e5c3a8d120eb36bcf96419b3fc7e0 (diff)
downloadrust-32bd145f6073ac4bbd8f4ed9e8e3df9a69c963d1.tar.gz
rust-32bd145f6073ac4bbd8f4ed9e8e3df9a69c963d1.zip
Rollup merge of #43915 - adrian5:patch-1, r=sfackler
Fix typo in doc
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 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]);