mirror of
https://github.com/youwen5/iamb.git
synced 2025-06-19 21:29:52 -07:00
Fix newer Clippy warnings for 1.80 (#301)
This commit is contained in:
parent
d8d8e91295
commit
4fc71c9291
6 changed files with 41 additions and 38 deletions
|
@ -1173,7 +1173,7 @@ mod tests {
|
|||
let j = "j".parse::<TerminalKey>().unwrap();
|
||||
let esc = "<Esc>".parse::<TerminalKey>().unwrap();
|
||||
|
||||
let jj = Keys(vec![j.clone(), j], "jj".into());
|
||||
let jj = Keys(vec![j, j], "jj".into());
|
||||
let run = mapped.get(&jj).unwrap();
|
||||
let exp = Keys(vec![esc], "<Esc>".into());
|
||||
assert_eq!(run, &exp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue