diff --git a/src/platform_impl/linux/mod.rs b/src/platform_impl/linux/mod.rs index 8958ddc0..4713038f 100644 --- a/src/platform_impl/linux/mod.rs +++ b/src/platform_impl/linux/mod.rs @@ -63,7 +63,7 @@ impl Default for PlatformSpecificWindowBuilderAttributes { lazy_static! { pub static ref X11_BACKEND: Mutex, 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)]