Enable clippy::useless_conversion (#8767)
This PR enables the [`clippy::useless_conversion`](https://rust-lang.github.io/rust-clippy/master/index.html#/useless_conversion) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
@@ -52,7 +52,7 @@ impl LspAdapter for ExtensionLspAdapter {
|
||||
.map_err(|e| anyhow!("{}", e))?;
|
||||
|
||||
Ok(LanguageServerBinary {
|
||||
path: self.work_dir.join(&command.command).into(),
|
||||
path: self.work_dir.join(&command.command),
|
||||
arguments: command.args.into_iter().map(|arg| arg.into()).collect(),
|
||||
env: Some(command.env.into_iter().collect()),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user