about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2022-11-11 10:53:58 +0100
committerAlbert Larsan <74931857+albertlarsan68@users.noreply.github.com>2022-11-11 11:14:09 +0100
commitfb98796892db43ed5db3d38edea5146a4cadcacc (patch)
treeb3b096ca6bd0b504437f761c61b43e0703542b70
parentd85b61460aeff77ad149741ea14b80880a2c48a6 (diff)
downloadrust-fb98796892db43ed5db3d38edea5146a4cadcacc.tar.gz
rust-fb98796892db43ed5db3d38edea5146a4cadcacc.zip
Apply suggestions
-rw-r--r--library/core/src/num/int_macros.rs4
-rw-r--r--library/core/src/num/uint_macros.rs4
2 files changed, 4 insertions, 4 deletions
diff --git a/library/core/src/num/int_macros.rs b/library/core/src/num/int_macros.rs
index 0f4555a8605..1d20bdddf08 100644
--- a/library/core/src/num/int_macros.rs
+++ b/library/core/src/num/int_macros.rs
@@ -107,9 +107,9 @@ macro_rules! int_impl {
 
         /// Returns the number of leading zeros in the binary representation of `self`.
         ///
-        /// The
+        /// Depending on what you're doing with the value, you might also be interested in the
         #[doc = concat!("[`", stringify!($SelfTy), "::ilog2()`]")]
-        /// function returns a consistent number, even if the type widens.
+        /// function which returns a consistent number, even if the type widens.
         ///
         /// # Examples
         ///
diff --git a/library/core/src/num/uint_macros.rs b/library/core/src/num/uint_macros.rs
index d5c6a5cee98..e5f8e26f286 100644
--- a/library/core/src/num/uint_macros.rs
+++ b/library/core/src/num/uint_macros.rs
@@ -109,9 +109,9 @@ macro_rules! uint_impl {
 
         /// Returns the number of leading zeros in the binary representation of `self`.
         ///
-        /// The
+        /// Depending on what you're doing with the value, you might also be interested in the
         #[doc = concat!("[`", stringify!($SelfTy), "::ilog2()`]")]
-        /// function returns a consistent number, even if the type widens.
+        /// function which returns a consistent number, even if the type widens.
         ///
         /// # Examples
         ///