about summary refs log tree commit diff
path: root/library
diff options
context:
space:
mode:
authorNaokiM03 <naokim03.lib+dev@gmail.com>2022-09-13 19:21:40 +0900
committerNaokiM03 <naokim03.lib+dev@gmail.com>2022-09-13 19:21:40 +0900
commita4f8d3e36d6ac1f7b9f883416a83cd93712bb0c8 (patch)
treef1cae905cf7beb7318eb8fe2380741a2dc5d4262 /library
parentc81575657c9591d07c12778fe74c326e5ac76558 (diff)
downloadrust-a4f8d3e36d6ac1f7b9f883416a83cd93712bb0c8.tar.gz
rust-a4f8d3e36d6ac1f7b9f883416a83cd93712bb0c8.zip
Fix doc of log function
Diffstat (limited to 'library')
-rw-r--r--library/core/src/num/uint_macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/uint_macros.rs b/library/core/src/num/uint_macros.rs
index aa3e8b9974e..46fd7f2d0e4 100644
--- a/library/core/src/num/uint_macros.rs
+++ b/library/core/src/num/uint_macros.rs
@@ -688,7 +688,7 @@ macro_rules! uint_impl {
         /// rounded down.
         ///
         /// This method might not be optimized owing to implementation details;
-        /// `log2` can produce results more efficiently for base 2, and `log10`
+        /// `ilog2` can produce results more efficiently for base 2, and `ilog10`
         /// can produce results more efficiently for base 10.
         ///
         /// # Panics