1
Fork 0

Wording of the documentation

This commit is contained in:
Rua 2024-06-02 21:03:24 +02:00
parent d23d340858
commit b181e8106c
2 changed files with 4 additions and 4 deletions

View file

@ -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
/// ///

View file

@ -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
/// ///