mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 20:42:04 +00:00
Minor clippy performance suggestions
This commit is contained in:
parent
7c9ae771bc
commit
82d6cfd495
6 changed files with 7 additions and 7 deletions
|
@ -145,7 +145,7 @@ impl Crate {
|
|||
}
|
||||
}).flat_map(|t| t).next();
|
||||
|
||||
doc_url.map(|s| s.trim_matches('"').trim_end_matches("/").to_owned() + "/")
|
||||
doc_url.map(|s| s.trim_matches('"').trim_end_matches('/').to_owned() + "/")
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue