aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorMichael Davis2022-05-23 00:13:10 +0000
committerBlaž Hrastnik2022-05-23 16:05:19 +0000
commit89c0998aee1717dff8b6afe712e52b576c496257 (patch)
tree645bac00ad692eab9202963405493423afb2615a /helix-view
parent92df5a542509e49a5ff71087b65fca2a17d5d25e (diff)
lower MSRV to 1.57.0
This line uses the Display trait for io::ErrorKind which was stabilized in Rust 1.60.0. We can set MSRV all the way back to 1.57.0 by replacing it with a pretty-print. Closes #2460.
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/handlers/dap.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/helix-view/src/handlers/dap.rs b/helix-view/src/handlers/dap.rs
index c7d3758d..2ea21f62 100644
--- a/helix-view/src/handlers/dap.rs
+++ b/helix-view/src/handlers/dap.rs
@@ -302,7 +302,9 @@ impl Editor {
.arg(arguments.args.join(" "))
.spawn()
.unwrap(),
- e => panic!("Error to start debug console: {}", e),
+ // TODO replace the pretty print {:?} with a regular format {}
+ // when the MSRV is raised to 1.60.0
+ e => panic!("Error to start debug console: {:?}", e),
})
} else {
std::process::Command::new("tmux")