diff options
author | Blaž Hrastnik | 2022-02-15 07:45:28 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-02-15 07:45:28 +0000 |
commit | d11b6521399f41cb4c0b75ebaa5770972f550ebb (patch) | |
tree | a8f96f26e4e2e0fe2b876a0c58309031f64a5bff /helix-term/src/application.rs | |
parent | fd0e4b1159e2e96548a5fa962298fe8f2a80fc5c (diff) |
Allow static strings in set_status/set_error so API is nicer
Diffstat (limited to 'helix-term/src/application.rs')
-rw-r--r-- | helix-term/src/application.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 87d2fcc9..49eb08d0 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -468,8 +468,7 @@ impl Application { // TODO: fetch breakpoints (in case we're attaching) if debugger.configuration_done().await.is_ok() { - self.editor - .set_status("Debugged application started".to_owned()); + self.editor.set_status("Debugged application started"); }; // TODO: do we need to handle error? } ev => { |