From 47d0d2ff63f11f651e704b2d4d0471a6b2af4b7d Mon Sep 17 00:00:00 2001 From: Lzu Tao Date: Wed, 22 Jul 2020 15:17:50 +0000 Subject: Make str point to primitive page --- src/liballoc/string.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/liballoc/string.rs') diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs index 15f10df9a45..a7123e0dd7d 100644 --- a/src/liballoc/string.rs +++ b/src/liballoc/string.rs @@ -268,7 +268,8 @@ use crate::vec::Vec; /// /// Here, there's no need to allocate more memory inside the loop. /// -/// [`&str`]: str +/// [`str`]: ../../std/primitive.str.html +/// [`&str`]: ../../std/primitive.str.html /// [`Deref`]: core::ops::Deref /// [`as_str()`]: String::as_str #[derive(PartialOrd, Eq, Ord)] -- cgit 1.4.1-3-g733a5