Wording of the documentation
This commit is contained in:
parent
d23d340858
commit
b181e8106c
2 changed files with 4 additions and 4 deletions
|
@ -185,8 +185,8 @@ macro_rules! int_impl {
|
||||||
|
|
||||||
/// Returns the bit pattern of `self` reinterpreted as an unsigned integer of the same size.
|
/// Returns the bit pattern of `self` reinterpreted as an unsigned integer of the same size.
|
||||||
///
|
///
|
||||||
/// This is a bit safer than `as` because it wouldn't silently change the size if the code
|
/// This produces the same result as an `as` cast, but ensures that the bit-width remains
|
||||||
/// is refactored.
|
/// the same.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
|
@ -186,8 +186,8 @@ macro_rules! uint_impl {
|
||||||
|
|
||||||
/// Returns the bit pattern of `self` reinterpreted as a signed integer of the same size.
|
/// Returns the bit pattern of `self` reinterpreted as a signed integer of the same size.
|
||||||
///
|
///
|
||||||
/// This is a bit safer than `as` because it wouldn't silently change the size if the code
|
/// This produces the same result as an `as` cast, but ensures that the bit-width remains
|
||||||
/// is refactored.
|
/// the same.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue