about summary refs log tree commit diff
path: root/library/core/src/num
diff options
context:
space:
mode:
authorGurinder Singh <frederick.the.fool@gmail.com>2024-04-22 08:16:47 +0530
committerGurinder Singh <frederick.the.fool@gmail.com>2024-04-22 08:16:47 +0530
commitf31e4aef0b4e0ed02864dfd5ca5615960c85837c (patch)
tree4a60d0413e5d40bd7c9d08f5a87bd491ac8ed666 /library/core/src/num
parentfb898629a26e4acec59c928ce3ec00a62675d1cc (diff)
downloadrust-f31e4aef0b4e0ed02864dfd5ca5615960c85837c.tar.gz
rust-f31e4aef0b4e0ed02864dfd5ca5615960c85837c.zip
Add comma at one place in `abs()` documentation
Diffstat (limited to 'library/core/src/num')
-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