Fix warnings (#1530)

This commit is contained in:
Murarth 2020-04-10 11:29:33 -07:00 committed by GitHub
parent 28023d9f5b
commit 0bc58f695b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -63,7 +63,7 @@ impl Default for PlatformSpecificWindowBuilderAttributes {
lazy_static! {
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)]