diff --git a/examples/simple.rs b/examples/simple.rs index e0d828e..e435792 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -12,7 +12,8 @@ fn main() { // Insert the ShmGlobal as a handler to your event loop // Here, we specify tha the standard Argb8888 and Xrgb8888 is the only supported. let handler_id = - event_loop.add_handler_with_init(ShmGlobal::new(vec![], None /* we don't provide a logger here */)); + event_loop.add_handler_with_init(ShmGlobal::new(vec![], + None /* we don't provide a logger here */)); // Register this handler to advertise a wl_shm global of version 1 let shm_global = event_loop.register_global::(handler_id, 1);