Suggest using unsigned_abs
in abs
documentation
This commit is contained in:
parent
db701c2aad
commit
02ac46c0c2
1 changed files with 2 additions and 1 deletions
|
@ -3185,7 +3185,8 @@ macro_rules! int_impl {
|
|||
/// that code in debug mode will trigger a panic on this case and
|
||||
/// optimized code will return
|
||||
#[doc = concat!("`", stringify!($SelfT), "::MIN`")]
|
||||
/// without a panic.
|
||||
/// without a panic. If you do not want this behavior consider
|
||||
/// using [`unsigned_abs`](Self::unsigned_abs) instead.
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue