about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarosl Lee <vcs@barosl.com>2016-01-19 03:07:27 +0900
committerBarosl Lee <vcs@barosl.com>2016-01-19 06:23:57 +0900
commitd449ec01956d74a3dfecf4cffe34440d7c050480 (patch)
tree5f0940fdfdf4b7399f6b334b3d32bf3b0536fbf2
parent08886499cf0f7fea5de2cc555ea7bfe9ceb0b40f (diff)
downloadrust-d449ec01956d74a3dfecf4cffe34440d7c050480.tar.gz
rust-d449ec01956d74a3dfecf4cffe34440d7c050480.zip
Fix typo
-rw-r--r--src/libcollections/str.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index 766867f284e..9ce1a111cf8 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -302,7 +302,7 @@ impl str {
     /// # Safety
     ///
     /// Callers of this function are responsible that three preconditions are
-    /// satisifed:
+    /// satisfied:
     ///
     /// * `begin` must come before `end`.
     /// * `begin` and `end` must be byte positions within the string slice.
@@ -345,7 +345,7 @@ impl str {
     /// # Safety
     ///
     /// Callers of this function are responsible that three preconditions are
-    /// satisifed:
+    /// satisfied:
     ///
     /// * `begin` must come before `end`.
     /// * `begin` and `end` must be byte positions within the string slice.