mirror of
https://github.com/rust-lang/rust
synced 2024-09-15 22:50:55 +00:00
Rollup merge of #124246 - gurry:add-comma-in-abs-doc, r=jhpratt
Add comma at one place in `abs()` documentation As suggested by ``@RalfJung`` here: https://github.com/rust-lang/rust/pull/124184#discussion_r1573670533
This commit is contained in:
commit
c597ccf3f1
|
@ -3199,7 +3199,7 @@ pub const fn checked_ilog10(self) -> Option<u32> {
|
|||
/// 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. If you do not want this behavior consider
|
||||
/// without a panic. If you do not want this behavior, consider
|
||||
/// using [`unsigned_abs`](Self::unsigned_abs) instead.
|
||||
///
|
||||
/// # Examples
|
||||
|
|
Loading…
Reference in a new issue