File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -99,9 +99,9 @@ mod mut_ptr;
99
99
/// dropped normally.
100
100
///
101
101
/// * It is friendlier to the optimizer to do this over [`ptr::read`] when
102
- /// dropping manually allocated memory (e.g., when writing Box/Rc/Vec),
103
- /// as the compiler doesn't need to prove that it's sound to elide the
104
- /// copy.
102
+ /// dropping manually allocated memory (e.g., in the implementations of
103
+ /// `Box`/`Rc`/`Vec`), as the compiler doesn't need to prove that it's
104
+ /// sound to elide the copy.
105
105
///
106
106
/// * It can be used to drop [pinned] data when `T` is not `repr(packed)`
107
107
/// (pinned data must not be moved before it is dropped).
Original file line number Diff line number Diff line change 1
1
//! This module provides constants which are specific to the implementation
2
2
//! of the `f32` floating point data type.
3
3
//!
4
- //! *[See also the `f32` primitive type](../../std/ primitive. f32.html ).*
4
+ //! *[See also the `f32` primitive type](primitive@ f32).*
5
5
//!
6
6
//! Mathematically significant numbers are provided in the `consts` sub-module.
7
7
//!
Original file line number Diff line number Diff line change 1
1
//! This module provides constants which are specific to the implementation
2
2
//! of the `f64` floating point data type.
3
3
//!
4
- //! *[See also the `f64` primitive type](../../std/ primitive. f64.html ).*
4
+ //! *[See also the `f64` primitive type](primitive@ f64).*
5
5
//!
6
6
//! Mathematically significant numbers are provided in the `consts` sub-module.
7
7
//!
You can’t perform that action at this time.
0 commit comments