about summary refs log tree commit diff
path: root/src/libcollections/string.rs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-11-16 08:28:13 -0800
committerAlex Gaynor <alex.gaynor@gmail.com>2014-11-16 08:28:13 -0800
commit33345dae0cc274c5e059ec3ba45958ed15edab01 (patch)
tree0471a87ed4d4bad036e7108a9d413dd35606fa41 /src/libcollections/string.rs
parent321488b6751e33ac9bc2d48a7e5d5c2a5ca5b615 (diff)
downloadrust-33345dae0cc274c5e059ec3ba45958ed15edab01.tar.gz
rust-33345dae0cc274c5e059ec3ba45958ed15edab01.zip
Fixed several typos in libcollections
Diffstat (limited to 'src/libcollections/string.rs')
-rw-r--r--src/libcollections/string.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index 3c75198a368..5866c067b2d 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -549,7 +549,7 @@ impl String {
     ///
     /// # Warning
     ///
-    /// This is a O(n) operation as it requires copying every element in the
+    /// This is an O(n) operation as it requires copying every element in the
     /// buffer.
     ///
     /// # Panics
@@ -586,7 +586,7 @@ impl String {
     ///
     /// # Warning
     ///
-    /// This is a O(n) operation as it requires copying every element in the
+    /// This is an O(n) operation as it requires copying every element in the
     /// buffer.
     ///
     /// # Panics