Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix comments for unsigned non-zero
checked_add
, saturating_add
For these two methods, `other` is an ordinary unsigned integer, so it can be zero. Since the sum of non-zero and zero is always non-zero, the safety argument holds even when `other` is zero.
- Loading branch information