diff --git a/src/main.rs b/src/main.rs index c8e91f3..7aaf5b1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -30,7 +30,7 @@ async fn main() .expect("Registry required"); let layouts = Path::new("/usr/share/unfettered-keyboard/layouts"); - let layout = Layout::load(&layouts, "latn_qwerty_us.xml") + let layout = Layout::load(layouts, "latn_qwerty_us.xml") .expect("Layout should be loadable"); let mut dispatcher = Dispatcher::new(layout, queue.handle(), &globals).unwrap();