diff options
Diffstat (limited to 'src/libcore/num/wrapping.rs')
| -rw-r--r-- | src/libcore/num/wrapping.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/wrapping.rs b/src/libcore/num/wrapping.rs index 00134a58d30..94dd657ec97 100644 --- a/src/libcore/num/wrapping.rs +++ b/src/libcore/num/wrapping.rs @@ -865,7 +865,7 @@ assert!(!Wrapping(10", stringify!($t), ").is_power_of_two()); doc_comment! { concat!("Returns the smallest power of two greater than or equal to `self`. -When return value overflows (i.e. `self > (1 << (N-1))` for type +When return value overflows (i.e., `self > (1 << (N-1))` for type `uN`), overflows to `2^N = 0`. # Examples |
