docs: Fix missing period in methods for integer types
This commit is contained in:
parent
8adb4b30f4
commit
2cb7aeaba5
2 changed files with 7 additions and 7 deletions
|
@ -1300,7 +1300,7 @@ macro_rules! int_impl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
|
/// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`.
|
||||||
///
|
///
|
||||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||||
/// the entire value is shifted out, and `0` is returned.
|
/// the entire value is shifted out, and `0` is returned.
|
||||||
|
@ -1423,7 +1423,7 @@ macro_rules! int_impl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
|
/// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`.
|
||||||
///
|
///
|
||||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||||
/// the entire value is shifted out, which yields `0` for a positive number,
|
/// the entire value is shifted out, which yields `0` for a positive number,
|
||||||
|
@ -2389,7 +2389,7 @@ macro_rules! int_impl {
|
||||||
(res, overflowed ^ (rhs < 0))
|
(res, overflowed ^ (rhs < 0))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calculates `self` - `rhs`
|
/// Calculates `self` - `rhs`.
|
||||||
///
|
///
|
||||||
/// Returns a tuple of the subtraction along with a boolean indicating whether an arithmetic overflow
|
/// Returns a tuple of the subtraction along with a boolean indicating whether an arithmetic overflow
|
||||||
/// would occur. If an overflow would have occurred then the wrapped value is returned.
|
/// would occur. If an overflow would have occurred then the wrapped value is returned.
|
||||||
|
@ -2470,7 +2470,7 @@ macro_rules! int_impl {
|
||||||
(c, b != d)
|
(c, b != d)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calculates `self` - `rhs` with an unsigned `rhs`
|
/// Calculates `self` - `rhs` with an unsigned `rhs`.
|
||||||
///
|
///
|
||||||
/// Returns a tuple of the subtraction along with a boolean indicating
|
/// Returns a tuple of the subtraction along with a boolean indicating
|
||||||
/// whether an arithmetic overflow would occur. If an overflow would
|
/// whether an arithmetic overflow would occur. If an overflow would
|
||||||
|
|
|
@ -1490,7 +1490,7 @@ macro_rules! uint_impl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`
|
/// Unbounded shift left. Computes `self << rhs`, without bounding the value of `rhs`.
|
||||||
///
|
///
|
||||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||||
/// the entire value is shifted out, and `0` is returned.
|
/// the entire value is shifted out, and `0` is returned.
|
||||||
|
@ -1613,7 +1613,7 @@ macro_rules! uint_impl {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`
|
/// Unbounded shift right. Computes `self >> rhs`, without bounding the value of `rhs`.
|
||||||
///
|
///
|
||||||
/// If `rhs` is larger or equal to the number of bits in `self`,
|
/// If `rhs` is larger or equal to the number of bits in `self`,
|
||||||
/// the entire value is shifted out, and `0` is returned.
|
/// the entire value is shifted out, and `0` is returned.
|
||||||
|
@ -2312,7 +2312,7 @@ macro_rules! uint_impl {
|
||||||
(res, overflowed ^ (rhs < 0))
|
(res, overflowed ^ (rhs < 0))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Calculates `self` - `rhs`
|
/// Calculates `self` - `rhs`.
|
||||||
///
|
///
|
||||||
/// Returns a tuple of the subtraction along with a boolean indicating
|
/// Returns a tuple of the subtraction along with a boolean indicating
|
||||||
/// whether an arithmetic overflow would occur. If an overflow would
|
/// whether an arithmetic overflow would occur. If an overflow would
|
||||||
|
|
Loading…
Add table
Reference in a new issue