From 4b329d482ac42f341f8cdd939f7462629f0a3309 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Fri, 6 Dec 2024 22:41:33 +0000 Subject: [PATCH] chore: appease clippy --- helix-term/src/commands/lsp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs index e839777355ad..a880c5820ea1 100644 --- a/helix-term/src/commands/lsp.rs +++ b/helix-term/src/commands/lsp.rs @@ -1065,7 +1065,7 @@ pub fn hover_dump(cx: &mut Context) { Document::from(Rope::from(contents), None, editor.config.clone()), ); let (_view, doc) = current!(editor); - if let Ok(_) = doc.set_language_by_language_id("markdown", editor.syn_loader.clone()) {}; + let _ = doc.set_language_by_language_id("markdown", editor.syn_loader.clone()); }) }