about summary refs log tree commit diff
path: root/src/libcollections
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-05-05 09:24:22 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-05-05 09:24:22 +0530
commit266d4829ea61080a8c12853707f074f83f5bf3c7 (patch)
treef29749f77936ba59eedeb7a7ad9f275b1fdbe340 /src/libcollections
parent4fb22164a25a90543474d33fd51159e80806c9c5 (diff)
parent464069a4bfff2e94cb91c6cc5f0da40bba086bc4 (diff)
downloadrust-266d4829ea61080a8c12853707f074f83f5bf3c7.tar.gz
rust-266d4829ea61080a8c12853707f074f83f5bf3c7.zip
Rollup merge of #25100 - jbcrail:fix-spelling-errors, r=steveklabnik
 I corrected several spelling errors in the external documentation.
Diffstat (limited to 'src/libcollections')
-rw-r--r--src/libcollections/str.rs4
-rw-r--r--src/libcollections/string.rs2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index db9f526a0f2..38431ab5bf1 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -713,7 +713,7 @@ impl str {
     /// is skipped if empty.
     ///
     /// This method can be used for string data that is _terminated_,
-    /// rather than _seperated_ by a pattern.
+    /// rather than _separated_ by a pattern.
     ///
     /// # Iterator behavior
     ///
@@ -760,7 +760,7 @@ impl str {
     /// skipped if empty.
     ///
     /// This method can be used for string data that is _terminated_,
-    /// rather than _seperated_ by a pattern.
+    /// rather than _separated_ by a pattern.
     ///
     /// # Iterator behavior
     ///
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index ad5ed1c89cd..3c668f7fe9b 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -757,7 +757,7 @@ impl FromUtf8Error {
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn into_bytes(self) -> Vec<u8> { self.bytes }
 
-    /// Accesss the underlying UTF8-error that was the cause of this error.
+    /// Access the underlying UTF8-error that was the cause of this error.
     #[stable(feature = "rust1", since = "1.0.0")]
     pub fn utf8_error(&self) -> Utf8Error { self.error }
 }