mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-03 07:10:05 -04:00
Fix warnings (#1530)
This commit is contained in:
@@ -63,7 +63,7 @@ impl Default for PlatformSpecificWindowBuilderAttributes {
|
|||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
pub static ref X11_BACKEND: Mutex<Result<Arc<XConnection>, XNotSupported>> =
|
pub static ref X11_BACKEND: Mutex<Result<Arc<XConnection>, XNotSupported>> =
|
||||||
{ Mutex::new(XConnection::new(Some(x_error_callback)).map(Arc::new)) };
|
Mutex::new(XConnection::new(Some(x_error_callback)).map(Arc::new));
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, Clone)]
|
#[derive(Debug, Clone)]
|
||||||
|
|||||||
Reference in New Issue
Block a user