Skip to content

Commit f6fd6bb

Browse files
committed
clippy
1 parent dc5cf58 commit f6fd6bb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/kbd_ev_print.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub fn mod_state_side_agnostic_s(state: &ModifiersState) -> String {
7474
s.push(' ');
7575

7676
if state.contains(ModifiersState::FN) {
77-
s.push_str("🄵")
77+
s.push('🄵')
7878
} else {
7979
s.push(' ')
8080
};
@@ -104,7 +104,7 @@ pub fn mod_state_side_agnostic_s(state: &ModifiersState) -> String {
104104
};
105105
s.push(' ');
106106
if state.contains(ModifiersState::SYMBOL) {
107-
s.push_str("🔣")
107+
s.push('🔣')
108108
} else {
109109
s.push(' ')
110110
};

0 commit comments

Comments
 (0)