Make str point to primitive page

This commit is contained in:
Lzu Tao 2020-07-22 15:17:50 +00:00
parent 4a86573c6b
commit 47d0d2ff63
1 changed files with 2 additions and 1 deletions

View File

@ -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)]