Fix several broken links in doc that used the wrong qualifier or Self::
This commit is contained in:
parent
c0560c2755
commit
5bdd640913
@ -5256,7 +5256,7 @@ dependencies = [
|
||||
"chrono",
|
||||
"lazy_static",
|
||||
"matchers",
|
||||
"parking_lot 0.9.0",
|
||||
"parking_lot 0.11.0",
|
||||
"regex",
|
||||
"serde",
|
||||
"serde_json",
|
||||
|
@ -929,7 +929,7 @@ pub fn as_ptr(&self) -> *mut T {
|
||||
/// Also, please be aware that this method is only for special circumstances and is usually
|
||||
/// not what you want. In case of doubt, use [`borrow_mut`] instead.
|
||||
///
|
||||
/// [`borrow_mut`]: Self::borrow_mut()
|
||||
/// [`borrow_mut`]: RefCell::borrow_mut()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -953,7 +953,7 @@ pub fn get_mut(&mut self) -> &mut T {
|
||||
/// ensure no borrows exist and then resets the state tracking shared borrows. This is relevant
|
||||
/// if some `Ref` or `RefMut` borrows have been leaked.
|
||||
///
|
||||
/// [`get_mut`]: Self::get_mut()
|
||||
/// [`get_mut`]: RefCell::get_mut()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -1745,7 +1745,7 @@ pub fn get_mut(&mut self) -> &mut T {
|
||||
/// when casting to `&mut T`, and ensure that there are no mutations
|
||||
/// or mutable aliases going on when casting to `&T`.
|
||||
///
|
||||
/// [`get`]: Self::get()
|
||||
/// [`get`]: UnsafeCell::get()
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -776,8 +776,8 @@ pub const fn from_bits(v: u32) -> Self {
|
||||
/// As the target platform's native endianness is used, portable code
|
||||
/// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
|
||||
///
|
||||
/// [`to_be_bytes`]: prim@f32::to_be_bytes()
|
||||
/// [`to_le_bytes`]: prim@f32::to_le_bytes()
|
||||
/// [`to_be_bytes`]: #method.to_be_bytes
|
||||
/// [`to_le_bytes`]: #method.to_le_bytes
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -804,7 +804,7 @@ pub const fn from_bits(v: u32) -> Self {
|
||||
///
|
||||
/// [`to_ne_bytes`] should be preferred over this whenever possible.
|
||||
///
|
||||
/// [`to_ne_bytes`]: prim@f32::to_ne_bytes()
|
||||
/// [`to_ne_bytes`]: #method.to_ne_bytes
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -864,8 +864,8 @@ pub const fn from_bits(v: u32) -> Self {
|
||||
/// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
|
||||
/// appropriate instead.
|
||||
///
|
||||
/// [`from_be_bytes`]: prim@f32::from_be_bytes()
|
||||
/// [`from_le_bytes`]: prim@f32::from_le_bytes()
|
||||
/// [`from_be_bytes`]: #method.from_be_bytes
|
||||
/// [`from_le_bytes`]: #method.from_le_bytes
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -790,8 +790,8 @@ pub const fn from_bits(v: u64) -> Self {
|
||||
/// As the target platform's native endianness is used, portable code
|
||||
/// should use [`to_be_bytes`] or [`to_le_bytes`], as appropriate, instead.
|
||||
///
|
||||
/// [`to_be_bytes`]: prim@f64::to_be_bytes()
|
||||
/// [`to_le_bytes`]: prim@f64::to_le_bytes()
|
||||
/// [`to_be_bytes`]: #method.to_be_bytes
|
||||
/// [`to_le_bytes`]: #method.to_le_bytes
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -818,7 +818,7 @@ pub const fn from_bits(v: u64) -> Self {
|
||||
///
|
||||
/// [`to_ne_bytes`] should be preferred over this whenever possible.
|
||||
///
|
||||
/// [`to_ne_bytes`]: prim@f64::to_ne_bytes()
|
||||
/// [`to_ne_bytes`]: #method.to_ne_bytes
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -878,8 +878,8 @@ pub const fn from_bits(v: u64) -> Self {
|
||||
/// likely wants to use [`from_be_bytes`] or [`from_le_bytes`], as
|
||||
/// appropriate instead.
|
||||
///
|
||||
/// [`from_be_bytes`]: prim@f64::from_be_bytes()
|
||||
/// [`from_le_bytes`]: prim@f64::from_le_bytes()
|
||||
/// [`from_be_bytes`]: #method.from_be_bytes
|
||||
/// [`from_le_bytes`]: #method.from_le_bytes
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
@ -2254,7 +2254,7 @@ pub fn eq_ignore_ascii_case(&self, other: &str) -> bool {
|
||||
/// To return a new uppercased value without modifying the existing one, use
|
||||
/// [`to_ascii_uppercase()`].
|
||||
///
|
||||
/// [`to_ascii_uppercase()`]: prim@str::to_ascii_uppercase()
|
||||
/// [`to_ascii_uppercase()`]: #method.to_ascii_uppercase
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
@ -2281,7 +2281,7 @@ pub fn make_ascii_uppercase(&mut self) {
|
||||
/// To return a new lowercased value without modifying the existing one, use
|
||||
/// [`to_ascii_lowercase()`].
|
||||
///
|
||||
/// [`to_ascii_lowercase()`]: prim@str::to_ascii_lowercase()
|
||||
/// [`to_ascii_lowercase()`]: #method.to_ascii_lowercase
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user