about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-01-19 04:08:59 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-01-19 04:08:59 +0530
commit652fa5c0e906eecf1f834db2b1f3373f6b783b72 (patch)
tree975784f2f3d5cdc3b3466eecc2e9100d58fc25ae
parentdf61f4e50469ffd75d898361ab108b19c67007a9 (diff)
parentd449ec01956d74a3dfecf4cffe34440d7c050480 (diff)
downloadrust-652fa5c0e906eecf1f834db2b1f3373f6b783b72.tar.gz
rust-652fa5c0e906eecf1f834db2b1f3373f6b783b72.zip
Rollup merge of #31008 - barosl:typo, r=bluss
-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.