mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Fix some clippy perf warnings
This commit is contained in:
parent
3c2c8d7e5f
commit
a5cc9a8a9b
4 changed files with 8 additions and 9 deletions
|
@ -267,8 +267,8 @@ impl From<&FixtureMeta> for ParsedMeta {
|
|||
ParsedMeta::Root { path: path.to_owned() }
|
||||
}
|
||||
FixtureMeta::File(f) => Self::File(FileMeta {
|
||||
path: f.path.to_owned().into(),
|
||||
krate: f.crate_name.to_owned().into(),
|
||||
path: f.path.to_owned(),
|
||||
krate: f.crate_name.to_owned(),
|
||||
deps: f.deps.to_owned(),
|
||||
cfg: f.cfg.to_owned(),
|
||||
edition: f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue