From 9939dbf119f5f7820b914785a3550a745d4dbcf2 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sat, 4 Sep 2021 09:08:52 +0300 Subject: Fix clippy warnings --- helix-term/src/commands/dap.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'helix-term/src/commands') diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs index 082e2c7a..f67669d9 100644 --- a/helix-term/src/commands/dap.rs +++ b/helix-term/src/commands/dap.rs @@ -471,7 +471,7 @@ pub fn dap_switch_stack_frame(cx: &mut Context) { Some(thread_id) => thread_id, None => { cx.editor - .set_error(format!("No thread is currently active")); + .set_error("No thread is currently active".to_owned()); return; } }; -- cgit v1.2.3-70-g09d2