From dd52f6d8c322cbeddaeb833a684a409e019c2772 Mon Sep 17 00:00:00 2001 From: Tassilo Horn Date: Tue, 16 Feb 2021 22:12:39 +0100 Subject: [PATCH] Minor change --- src/con.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/con.rs b/src/con.rs index ac7f9ff..3ae3381 100644 --- a/src/con.rs +++ b/src/con.rs @@ -181,14 +181,14 @@ pub fn get_workspaces<'a>( } pub fn select_window<'a>( - prompt: &'a str, + prompt: &str, windows: &'a [Window], ) -> Option<&'a Window<'a>> { util::wofi_select(prompt, windows) } pub fn select_workspace<'a>( - prompt: &'a str, + prompt: &str, workspaces: &'a [Workspace], ) -> Option<&'a Workspace<'a>> { util::wofi_select(prompt, workspaces)