Skip to content

Commit 2e3e6b6

Browse files
committed
Format changes
1 parent 8d813f7 commit 2e3e6b6

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

crates/loom-tui/src/app.rs

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -862,13 +862,8 @@ impl App {
862862
Ok(entries) => Ok(entries),
863863
Err(e) if LdapConnection::is_connection_error(&e) => {
864864
if conn.reconnect().await.is_ok() {
865-
conn.search_limited(
866-
&base_dn,
867-
&query,
868-
&["cn", "uid", "sn"],
869-
50,
870-
)
871-
.await
865+
conn.search_limited(&base_dn, &query, &["cn", "uid", "sn"], 50)
866+
.await
872867
} else {
873868
Err(e)
874869
}
@@ -1030,8 +1025,7 @@ impl App {
10301025
&& matches!(
10311026
self.keymap.resolve_global_only(&key),
10321027
Action::SearchFocusInput
1033-
)
1034-
{
1028+
) {
10351029
self.dismiss_all_popups();
10361030
self.command_panel.deactivate_input();
10371031
if self.active_layout != ActiveLayout::Browser {

0 commit comments

Comments
 (0)