Skip to content

Commit 1e974f4

Browse files
Fix clippy::uninlined_format_args lint
1 parent 3963848 commit 1e974f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/key.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ impl Display for Key {
672672
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
673673
use self::Key::*;
674674
match *self {
675-
Character(ref s) => write!(f, "{}", s),
675+
Character(ref s) => write!(f, "{s}"),
676676

677677
Unidentified => f.write_str("Unidentified"),
678678
Alt => f.write_str("Alt"),

0 commit comments

Comments
 (0)