]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #43915 - adrian5:patch-1, r=sfackler
authorCorey Farwell <coreyf@rwell.org>
Thu, 17 Aug 2017 14:44:11 +0000 (10:44 -0400)
committerGitHub <noreply@github.com>
Thu, 17 Aug 2017 14:44:11 +0000 (10:44 -0400)
Fix typo in doc

src/libstd/io/cursor.rs

index d986021a18bbc7676e072c4001670aa3ae119b45..32a92145aafedf68e6e95d7b0ddb41b36fd185c7 100644 (file)
@@ -69,7 +69,7 @@
 /// // 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]);