We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unsigned_abs
abs
1 parent db701c2 commit 02ac46cCopy full SHA for 02ac46c
library/core/src/num/int_macros.rs
@@ -3185,7 +3185,8 @@ macro_rules! int_impl {
3185
/// that code in debug mode will trigger a panic on this case and
3186
/// optimized code will return
3187
#[doc = concat!("`", stringify!($SelfT), "::MIN`")]
3188
- /// without a panic.
+ /// without a panic. If you do not want this behavior consider
3189
+ /// using [`unsigned_abs`](Self::unsigned_abs) instead.
3190
///
3191
/// # Examples
3192
0 commit comments