aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-09-04 06:08:52 +0000
committerDmitry Sharshakov2021-09-04 06:08:52 +0000
commit9939dbf119f5f7820b914785a3550a745d4dbcf2 (patch)
tree5b31a304275a23d7559fa82ea1403c5334b6b13f /helix-term/src/commands
parentcf7237d0b920eeb7d887c192bc46c44990cc9b68 (diff)
Fix clippy warnings
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r--helix-term/src/commands/dap.rs2
1 files changed, 1 insertions, 1 deletions
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;
}
};