about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-09-13 22:25:36 +0200
committerGitHub <noreply@github.com>2022-09-13 22:25:36 +0200
commite44073b5db8a7150c1080359603752b8f423eb9b (patch)
tree7555832a665616a4fc59a7fe98fef1802c34d192
parent8fa8021451162bdc253c1ee781bc28d94980e5bf (diff)
parenta4f8d3e36d6ac1f7b9f883416a83cd93712bb0c8 (diff)
downloadrust-e44073b5db8a7150c1080359603752b8f423eb9b.tar.gz
rust-e44073b5db8a7150c1080359603752b8f423eb9b.zip
Rollup merge of #101754 - NaokiM03:rename-log-to-ilog, r=Dylan-DPC
Fix doc of log function

Hi.

I found a forgotten documentation correction in the following pull request.
https://github.com/rust-lang/rust/pull/100332

See also:
https://github.com/rust-lang/rust/issues/70887
-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