Skip to content

Commit 84ff665

Browse files
committed
Auto merge of rust-lang#28964 - eminence:docfix, r=sfackler
r? @steveklabnik
2 parents db6c712 + dce58ba commit 84ff665

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/libcollections/string.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ impl String {
381381
/// Converts a vector of bytes to a `String` without checking that the
382382
/// string contains valid UTF-8.
383383
///
384-
/// See the safe version, [`from_utrf8()`][fromutf8], for more.
384+
/// See the safe version, [`from_utf8()`][fromutf8], for more.
385385
///
386386
/// [fromutf8]: struct.String.html#method.from_utf8
387387
///

src/libcore/str/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ pub fn from_utf8(v: &[u8]) -> Result<&str, Utf8Error> {
243243
/// Converts a slice of bytes to a string slice without checking
244244
/// that the string contains valid UTF-8.
245245
///
246-
/// See the safe version, [`from_utrf8()`][fromutf8], for more.
246+
/// See the safe version, [`from_utf8()`][fromutf8], for more.
247247
///
248248
/// [fromutf8]: fn.from_utf8.html
249249
///

0 commit comments

Comments
 (0)