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:
Matthias Krüger 2024-04-22 10:02:56 +02:00 committed by GitHub
commit c597ccf3f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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