revert rustdoc links in core to use #method. because they link to alloc, which may not be available
This commit is contained in:
parent
634d48d9d6
commit
0a30c5b2ab
1 changed files with 2 additions and 2 deletions
|
@ -30,7 +30,7 @@ impl [u8] {
|
||||||
/// To return a new uppercased value without modifying the existing one, use
|
/// To return a new uppercased value without modifying the existing one, use
|
||||||
/// [`to_ascii_uppercase`].
|
/// [`to_ascii_uppercase`].
|
||||||
///
|
///
|
||||||
/// [`to_ascii_uppercase`]: slice::to_ascii_uppercase
|
/// [`to_ascii_uppercase`]: #method.to_ascii_uppercase
|
||||||
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
|
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn make_ascii_uppercase(&mut self) {
|
pub fn make_ascii_uppercase(&mut self) {
|
||||||
|
@ -47,7 +47,7 @@ impl [u8] {
|
||||||
/// To return a new lowercased value without modifying the existing one, use
|
/// To return a new lowercased value without modifying the existing one, use
|
||||||
/// [`to_ascii_lowercase`].
|
/// [`to_ascii_lowercase`].
|
||||||
///
|
///
|
||||||
/// [`to_ascii_lowercase`]: slice::to_ascii_lowercase
|
/// [`to_ascii_lowercase`]: #method.to_ascii_lowercase
|
||||||
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
|
#[stable(feature = "ascii_methods_on_intrinsics", since = "1.23.0")]
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn make_ascii_lowercase(&mut self) {
|
pub fn make_ascii_lowercase(&mut self) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue