Skip to content

Commit

Permalink
Rollup merge of rust-lang#101754 - NaokiM03:rename-log-to-ilog, r=Dyl…
Browse files Browse the repository at this point in the history
…an-DPC

Fix doc of log function

Hi.

I found a forgotten documentation correction in the following pull request.
rust-lang#100332

See also:
rust-lang#70887
  • Loading branch information
matthiaskrgr authored Sep 13, 2022
2 parents 8fa8021 + a4f8d3e commit e44073b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/num/uint_macros.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e44073b

Please sign in to comment.