Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
archseer committed Mar 8, 2022
1 parent 9a04064 commit 5a60989
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
28 changes: 14 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions helix-term/src/commands/dap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ pub fn dap_start_impl(
let config = doc
.language_config()
.and_then(|config| config.debugger.as_ref())
.ok_or(anyhow!("No debug adapter available for language"))?;
.ok_or_else(|| anyhow!("No debug adapter available for language"))?;

let result = match socket {
Some(socket) => block_on(Client::tcp(socket, 0)),
Expand Down Expand Up @@ -220,7 +220,7 @@ pub fn dap_start_impl(
Some(name) => config.templates.iter().find(|t| t.name == name),
None => config.templates.get(0),
}
.ok_or(anyhow!("No debug config with given name"))?;
.ok_or_else(|| anyhow!("No debug config with given name"))?;

let mut args: HashMap<&str, Value> = HashMap::new();

Expand Down

0 comments on commit 5a60989

Please sign in to comment.