Skip to content

Commit 7bc573e

Browse files
committed
Add docs re Rust 1.51.1
1 parent 9ee7b33 commit 7bc573e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/amount.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ fn dec_width(mut num: u64) -> usize {
336336
width
337337
}
338338

339-
// NIH due to MSRV, impl copied from `core`
339+
// NIH due to MSRV, impl copied from `core::i8::unsigned_abs` (introduced in Rust 1.51.1).
340340
fn unsigned_abs(x: i8) -> u8 {
341341
x.wrapping_abs() as u8
342342
}

0 commit comments

Comments
 (0)