From 15ba31d010c3c4840b57d91ad9d5b0b2c746e315 Mon Sep 17 00:00:00 2001 From: AnthonyMikh Date: Tue, 14 Apr 2020 15:07:57 +0300 Subject: [PATCH] Fix broken link in documentation for String::from_utf8 --- src/liballoc/string.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs index 7c89d38caa4..708819f1e20 100644 --- a/src/liballoc/string.rs +++ b/src/liballoc/string.rs @@ -482,6 +482,7 @@ pub fn from_str(_: &str) -> String { /// [`String`]: struct.String.html /// [`u8`]: ../../std/primitive.u8.html /// [`Vec`]: ../../std/vec/struct.Vec.html + /// [`&str`]: ../../std/primitive.str.html /// [`str::from_utf8`]: ../../std/str/fn.from_utf8.html /// [`into_bytes`]: struct.String.html#method.into_bytes /// [`FromUtf8Error`]: struct.FromUtf8Error.html -- 2.44.0