Skip to content

Commit 873a3b0

Browse files
committed
Allow us to remove masking in the future
1 parent 3993eb4 commit 873a3b0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/libstd/f32.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1257,8 +1257,8 @@ impl f32 {
12571257
/// There is only one difference to a bare `transmute`:
12581258
/// Due to the implications onto Rust's safety promises being
12591259
/// uncertain, if the representation of a signaling NaN "sNaN" float
1260-
/// is passed to the function, a quiet NaN will be returned
1261-
/// instead.
1260+
/// is passed to the function, the implementation is allowed to
1261+
/// return a quiet NaN instead.
12621262
///
12631263
/// Note that this function is distinct from casting.
12641264
///

src/libstd/f64.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1149,8 +1149,8 @@ impl f64 {
11491149
/// There is only one difference to a bare `transmute`:
11501150
/// Due to the implications onto Rust's safety promises being
11511151
/// uncertain, if the representation of a signaling NaN "sNaN" float
1152-
/// is passed to the function, a quiet NaN will be returned
1153-
/// instead.
1152+
/// is passed to the function, the implementation is allowed to
1153+
/// return a quiet NaN instead.
11541154
///
11551155
/// Note that this function is distinct from casting.
11561156
///

0 commit comments

Comments
 (0)