about summary refs log tree commit diff
diff options
context:
space:
mode:
-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
         ///