Skip to content

Commit 7c0a1e0

Browse files
author
Radu Racariu
committed
More clippy fixes.
1 parent 658e01f commit 7c0a1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit-gen/src/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ pub(super) fn parse_unit<'a>() -> Parser<'a, u8, Unit> {
109109
"A" => cur.a = *scale,
110110
"mol" => cur.mol = *scale,
111111
"cd" => cur.cd = *scale,
112-
_ => panic!("Invalid dimension {}", dim),
112+
_ => panic!("Invalid dimension {dim}"),
113113
};
114114
cur
115115
})

0 commit comments

Comments
 (0)