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 141c7a5 commit 1b802cdCopy full SHA for 1b802cd
src/log.rs
@@ -334,7 +334,7 @@ mod tests {
334
assert_eq!(str::from_utf8(buf.filled()), Ok("Hello World!"));
335
336
// overflow results in truncated output
337
- write!(&mut buf, " This is a test, {}", usize::MAX).unwrap();
+ write!(&mut buf, " This is a test, {}", u64::MAX).unwrap();
338
assert_eq!(
339
str::from_utf8(buf.filled()),
340
Ok("Hello World! This is a test, 184")
0 commit comments