Remove extern crate statements (#3310)

This commit is contained in:
daxpedda
2023-12-25 09:25:09 +01:00
committed by GitHub
parent 61a873d79a
commit 28a811bbba
36 changed files with 54 additions and 26 deletions

View File

@@ -712,7 +712,7 @@ unsafe extern "C" fn x_error_callback(
// Don't log error.
if !error_handled {
error!("X11 error: {:#?}", error);
log::error!("X11 error: {:#?}", error);
// XXX only update the error, if it wasn't handled by any of the hooks.
*xconn.latest_error.lock().unwrap() = Some(error);
}