make clippy happy
This commit is contained in:
parent
3c048075f4
commit
cc67764c23
|
@ -138,7 +138,7 @@ impl AnvilState {
|
|||
let cursor_status = Arc::new(Mutex::new(CursorImageStatus::Default));
|
||||
|
||||
let cursor_status2 = cursor_status.clone();
|
||||
let pointer = seat.add_pointer(shell_handles.token.clone(), move |new_status| {
|
||||
let pointer = seat.add_pointer(shell_handles.token, move |new_status| {
|
||||
// TODO: hide winit system cursor when relevant
|
||||
*cursor_status2.lock().unwrap() = new_status
|
||||
});
|
||||
|
|
|
@ -49,7 +49,7 @@ pub mod egl {
|
|||
use std::sync::Once;
|
||||
|
||||
lazy_static! {
|
||||
pub static ref LIB: Library = { Library::new("libEGL.so.1").expect("Failed to load LibEGL") };
|
||||
pub static ref LIB: Library = Library::new("libEGL.so.1").expect("Failed to load LibEGL");
|
||||
}
|
||||
|
||||
pub static LOAD: Once = Once::new();
|
||||
|
|
Loading…
Reference in New Issue