about summary refs log tree commit diff
path: root/library/core/src/str/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/core/src/str/mod.rs')
-rw-r--r--library/core/src/str/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/str/mod.rs b/library/core/src/str/mod.rs
index 17fb43b7830..5b258a7c844 100644
--- a/library/core/src/str/mod.rs
+++ b/library/core/src/str/mod.rs
@@ -169,7 +169,7 @@ impl str {
     /// UTF-8, and then does the conversion.
     ///
     /// [`&str`]: str
-    /// [byteslice]: slice
+    /// [byteslice]: prim@slice
     ///
     /// If you are sure that the byte slice is valid UTF-8, and you don't want to
     /// incur the overhead of the validity check, there is an unsafe version of