fmt: addressed linter complaints

This commit is contained in:
Dark-Alex-17 committed 2026-09-28 14:49:53 -06:00
1 parent a4b8a23424
commit a222f40616
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -24,7 +24,7 @@ mod tests {
#[case(Key::Char('q'), "q")]
#[case(Key::Ctrl('q'), "ctrl-q")]
fn test_key_formatter(#[case] key: Key, #[case] expected_str: &str) {
assert_str_eq!(format!("{key}"), format!("{expected_str}"));
assert_str_eq!(format!("{key}"), expected_str.to_string());
}
#[test]