refactor: obey clippy

This commit is contained in:
graelo 2021-04-12 22:37:27 +02:00
parent b74a5c3032
commit a253c1e243

View file

@ -468,7 +468,7 @@ impl<'a> ViewController<'a> {
let key_res = next_key.unwrap();
if let Err(err) = key_res {
// Termion not being able to read from stdin is an unrecoverable error.
panic!(err);
panic!("{}", err);
}
match key_res.unwrap() {