Skip to content

Commit

Permalink
lower MSRV to 1.57.0
Browse files Browse the repository at this point in the history
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 helix-editor#2460
  • Loading branch information
the-mikedavis committed May 23, 2022
1 parent 22534ab commit e2b6100
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion helix-view/src/handlers/dap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e2b6100

Please sign in to comment.