1
Fork 0

Suggest using unsigned_abs in abs documentation

This commit is contained in:
Gurinder Singh 2024-04-20 10:18:47 +05:30
parent db701c2aad
commit 02ac46c0c2

View file

@ -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
///