File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -185,8 +185,8 @@ macro_rules! int_impl {
185185
186186 /// Returns the bit pattern of `self` reinterpreted as an unsigned integer of the same size.
187187 ///
188- /// This is a bit safer than `as` because it wouldn't silently change the size if the code
189- /// is refactored .
188+ /// This produces the same result as an `as` cast, but ensures that the bit-width remains
189+ /// the same .
190190 ///
191191 /// # Examples
192192 ///
Original file line number Diff line number Diff line change @@ -186,8 +186,8 @@ macro_rules! uint_impl {
186186
187187 /// Returns the bit pattern of `self` reinterpreted as a signed integer of the same size.
188188 ///
189- /// This is a bit safer than `as` because it wouldn't silently change the size if the code
190- /// is refactored .
189+ /// This produces the same result as an `as` cast, but ensures that the bit-width remains
190+ /// the same .
191191 ///
192192 /// # Examples
193193 ///
You can’t perform that action at this time.
0 commit comments