Fix CI warnings (#1898)
* Fix CI warnings * Use the panic! macro rather than format! + panic_any
This commit is contained in:
parent
0d634a0061
commit
ca9c05368e
9 changed files with 9 additions and 6 deletions
|
|
@ -135,7 +135,7 @@ impl<T: 'static> EventLoop<T> {
|
|||
let ime = RefCell::new({
|
||||
let result = Ime::new(Arc::clone(&xconn));
|
||||
if let Err(ImeCreationError::OpenFailure(ref state)) = result {
|
||||
panic!(format!("Failed to open input method: {:#?}", state));
|
||||
panic!("Failed to open input method: {:#?}", state);
|
||||
}
|
||||
result.expect("Failed to set input method destruction callback")
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue