about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2015-12-30 19:54:06 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2015-12-30 19:54:06 +0200
commit2a7b6834d25b4937fcc1d5712c70714cb0e04b6b (patch)
treecd1bb5cd6706ba1f109dd1a8e27de2edc256252c /src/libstd
parenta06bb977d86dcfe786d4265f4807a11c39b51141 (diff)
downloadrust-2a7b6834d25b4937fcc1d5712c70714cb0e04b6b.tar.gz
rust-2a7b6834d25b4937fcc1d5712c70714cb0e04b6b.zip
doc: fix grammar
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/io/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/io/mod.rs b/src/libstd/io/mod.rs
index 2ad45e80dd1..8ac46bf51f1 100644
--- a/src/libstd/io/mod.rs
+++ b/src/libstd/io/mod.rs
@@ -1171,7 +1171,7 @@ pub enum SeekFrom {
     /// Set the offset to the size of this object plus the specified number of
     /// bytes.
     ///
-    /// It is possible to seek beyond the end of an object, but is an error to
+    /// It is possible to seek beyond the end of an object, but it's an error to
     /// seek before byte 0.
     #[stable(feature = "rust1", since = "1.0.0")]
     End(i64),
@@ -1179,7 +1179,7 @@ pub enum SeekFrom {
     /// Set the offset to the current position plus the specified number of
     /// bytes.
     ///
-    /// It is possible to seek beyond the end of an object, but is an error to
+    /// It is possible to seek beyond the end of an object, but it's an error to
     /// seek before byte 0.
     #[stable(feature = "rust1", since = "1.0.0")]
     Current(i64),