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.
|
||||
///
|
||||
/// This is a bit safer than `as` because it wouldn't silently change the size if the code
|
||||
/// is refactored.
|
||||
/// This produces the same result as an `as` cast, but ensures that the bit-width remains
|
||||
/// the same.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
|
@ -186,8 +186,8 @@ macro_rules! uint_impl {
|
|||
|
||||
/// 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
|
||||
/// is refactored.
|
||||
/// This produces the same result as an `as` cast, but ensures that the bit-width remains
|
||||
/// the same.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue