From 9bf1fa08bb1173d867e6f2dfe4ffa8b85be07db4 Mon Sep 17 00:00:00 2001 From: Billy Messenger Date: Fri, 11 Sep 2020 12:42:14 -0500 Subject: [PATCH] cargo fmt --- src/x11/window.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/x11/window.rs b/src/x11/window.rs index f35c36e..3139d28 100644 --- a/src/x11/window.rs +++ b/src/x11/window.rs @@ -1,8 +1,8 @@ use std::os::raw::{c_ulong, c_void}; use std::sync::mpsc; -use std::time::*; use std::thread; use std::time::*; +use std::time::*; use raw_window_handle::{unix::XlibHandle, HasRawWindowHandle, RawWindowHandle}; @@ -47,12 +47,13 @@ impl Window { // FIXME: placeholder types for returning errors in the future let _ = rx.recv(); - WindowHandle { - thread - } + WindowHandle { thread } } - fn window_thread(options: WindowOpenOptions, tx: mpsc::SyncSender) -> WindowOpenResult { + fn window_thread( + options: WindowOpenOptions, + tx: mpsc::SyncSender, + ) -> WindowOpenResult { // Connect to the X server // FIXME: baseview error type instead of unwrap() let xcb_connection = XcbConnection::new().unwrap();