Windows clippy fixes (#948)
This commit is contained in:
parent
016a4c3778
commit
ccf6cc708a
@ -1305,7 +1305,7 @@ mod windows_exception_handler {
|
||||
.0,
|
||||
)
|
||||
.unwrap();
|
||||
eprintln!("Crashed with {}", code);
|
||||
eprintln!("Crashed with {code}");
|
||||
} else {
|
||||
eprintln!("Crashed without exception (probably due to SIGABRT)");
|
||||
};
|
||||
|
@ -404,7 +404,7 @@ impl From<TryFromSliceError> for Error {
|
||||
#[cfg(windows)]
|
||||
impl From<windows::core::Error> for Error {
|
||||
fn from(err: windows::core::Error) -> Self {
|
||||
Self::unknown(format!("Windows API error: {:?}", err))
|
||||
Self::unknown(format!("Windows API error: {err:?}"))
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user