Skip to content

Commit 47d0d2f

Browse files
committed
Make str point to primitive page
1 parent 4a86573 commit 47d0d2f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/liballoc/string.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,8 @@ use crate::vec::Vec;
268268
///
269269
/// Here, there's no need to allocate more memory inside the loop.
270270
///
271-
/// [`&str`]: str
271+
/// [`str`]: ../../std/primitive.str.html
272+
/// [`&str`]: ../../std/primitive.str.html
272273
/// [`Deref`]: core::ops::Deref
273274
/// [`as_str()`]: String::as_str
274275
#[derive(PartialOrd, Eq, Ord)]

0 commit comments

Comments
 (0)