about summary refs log tree commit diff
path: root/src/libcollections
diff options
context:
space:
mode:
authorAndrew Chin <achin@eminence32.net>2015-10-10 23:32:35 -0400
committerAndrew Chin <achin@eminence32.net>2015-10-10 23:33:43 -0400
commitdce58baff0c4e23a5253f5b2e6df8904a85106de (patch)
treec52ddfd7e2f4f6559781dd527c2b128fb13c24b1 /src/libcollections
parent9d3e79ad3728f6723f8e49908696e66a68d7db95 (diff)
downloadrust-dce58baff0c4e23a5253f5b2e6df8904a85106de.tar.gz
rust-dce58baff0c4e23a5253f5b2e6df8904a85106de.zip
Trivial typo fix: from_utrf8 should be from_utf8
Diffstat (limited to 'src/libcollections')
-rw-r--r--src/libcollections/string.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcollections/string.rs b/src/libcollections/string.rs
index 271dbffcc2e..0815a2c4de9 100644
--- a/src/libcollections/string.rs
+++ b/src/libcollections/string.rs
@@ -381,7 +381,7 @@ impl String {
     /// Converts a vector of bytes to a `String` without checking that the
     /// string contains valid UTF-8.
     ///
-    /// See the safe version, [`from_utrf8()`][fromutf8], for more.
+    /// See the safe version, [`from_utf8()`][fromutf8], for more.
     ///
     /// [fromutf8]: struct.String.html#method.from_utf8
     ///