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 51ff2f3 commit 56a7a2fCopy full SHA for 56a7a2f
1 file changed
src/numeral_systems.rs
@@ -1098,7 +1098,7 @@ impl<'a> Display for RepresentedNumber<'a> {
1098
1099
if n == 0 {
1100
if let Some(&(numeral, 0)) = numerals.last() {
1101
- return write!(f, "{}", numeral);
+ return write!(f, "{numeral}");
1102
}
1103
unreachable!()
1104
@@ -1110,7 +1110,7 @@ impl<'a> Display for RepresentedNumber<'a> {
1110
1111
let reps = n / weight;
1112
for _ in 0..reps {
1113
- write!(f, "{}", numeral)?
+ write!(f, "{numeral}")?
1114
1115
1116
n -= weight * reps;
0 commit comments