We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9aa3dc commit 0f887baCopy full SHA for 0f887ba
sdk/log/crate/src/logger.rs
@@ -224,7 +224,7 @@ macro_rules! impl_log_for_unsigned_integer {
224
#[inline]
225
fn write_with_args(&self, buffer: &mut [MaybeUninit<u8>], args: &[Argument]) -> usize {
226
// The maximum number of digits that the type can have.
227
- const MAX_DIGITS: usize = const { $type::MAX.ilog10() as usize + 1 };
+ const MAX_DIGITS: usize = $type::MAX.ilog10() as usize + 1;
228
229
if buffer.is_empty() {
230
return 0;
0 commit comments