about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-22 10:02:56 +0200
committerGitHub <noreply@github.com>2024-04-22 10:02:56 +0200
commitc597ccf3f1e335630a39cb050aeebff912acdf6f (patch)
tree7d2e48a9ed7fcf09c7ce31a99457aeebd0371682
parente4e660ef5d909220ad756ca7d4ad6fe91ea3711e (diff)
parentf31e4aef0b4e0ed02864dfd5ca5615960c85837c (diff)
downloadrust-c597ccf3f1e335630a39cb050aeebff912acdf6f.tar.gz
rust-c597ccf3f1e335630a39cb050aeebff912acdf6f.zip
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
-rw-r--r--library/core/src/num/int_macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs
index ab0c633ca0a..de25b999bde 100644
--- a/library/core/src/num/int_macros.rs
+++ b/library/core/src/num/int_macros.rs
@@ -3199,7 +3199,7 @@ 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. 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