mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Some clippy fixes
This commit is contained in:
parent
24af351018
commit
d7f3d858ad
11 changed files with 16 additions and 19 deletions
|
@ -235,7 +235,7 @@ fn parse_meta(meta: &str) -> ParsedMeta {
|
|||
"env" => {
|
||||
for key in value.split(',') {
|
||||
if let Some((k, v)) = split1(key, '=') {
|
||||
env.set(k.into(), v.into());
|
||||
env.set(k, v.into());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue