Skip to content

Commit

Permalink
Rollup merge of #101754 - NaokiM03:rename-log-to-ilog, r=Dylan-DPC
Browse files Browse the repository at this point in the history
Fix doc of log function

Hi.

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

See also:
rust-lang/rust#70887
  • Loading branch information
matthiaskrgr authored Sep 13, 2022
2 parents c54e07e + 646d2c0 commit 90aa83b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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 90aa83b

Please sign in to comment.