From e28b237c16c4458c7d021cde2bd76c76a353bf96 Mon Sep 17 00:00:00 2001 From: Drakulix Date: Fri, 2 Jun 2017 16:21:29 +0200 Subject: [PATCH] Fix example formatting --- examples/simple.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/simple.rs b/examples/simple.rs index c9df850..8ed83c9 100644 --- a/examples/simple.rs +++ b/examples/simple.rs @@ -17,7 +17,9 @@ 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 */)); + let handler_id = + 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);