From be5350932508cb87824681e7fdcaa9242ab26ffb Mon Sep 17 00:00:00 2001 From: Skye Date: Tue, 4 Jul 2023 18:00:22 -0400 Subject: [PATCH] Fix formatting --- server/src/cmds/config/tab_complete.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/cmds/config/tab_complete.rs b/server/src/cmds/config/tab_complete.rs index 1dbe14a..938da6d 100644 --- a/server/src/cmds/config/tab_complete.rs +++ b/server/src/cmds/config/tab_complete.rs @@ -79,9 +79,9 @@ fn tab_complete( menu::Tree::new().with(|tree| { for completion in completions { let edit_view = edit_view.clone(); - tree.add_leaf(&completion.clone(), move |siv| + tree.add_leaf(&completion.clone(), move |siv| { edit_view.borrow_mut().set_content(&completion)(siv) - ) + }) } }) })),