From 15c9402b9974e8c1baebaf8aa2d67901b652ddc4 Mon Sep 17 00:00:00 2001 From: Richard Acayan Date: Wed, 24 Jul 2024 22:46:19 -0400 Subject: [PATCH] main: do not borrow layouts path --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();