diff options
author | Jeremy Kolb <[email protected]> | 2020-05-25 18:35:52 +0100 |
---|---|---|
committer | Jeremy Kolb <[email protected]> | 2020-05-25 18:35:52 +0100 |
commit | a5cc9a8a9ba1e6a0fc281e149881abdd3bd075c1 (patch) | |
tree | 8235c222a226ace40dc487c8d36a0fdfe6e40c3b /crates/ra_db | |
parent | 3c2c8d7e5f7887351bf8e475f441609527679e5f (diff) |
Fix some clippy perf warnings
Diffstat (limited to 'crates/ra_db')
-rw-r--r-- | crates/ra_db/src/fixture.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/ra_db/src/fixture.rs b/crates/ra_db/src/fixture.rs index f6b50c67c..482a2f3e6 100644 --- a/crates/ra_db/src/fixture.rs +++ b/crates/ra_db/src/fixture.rs | |||
@@ -267,8 +267,8 @@ impl From<&FixtureMeta> for ParsedMeta { | |||
267 | ParsedMeta::Root { path: path.to_owned() } | 267 | ParsedMeta::Root { path: path.to_owned() } |
268 | } | 268 | } |
269 | FixtureMeta::File(f) => Self::File(FileMeta { | 269 | FixtureMeta::File(f) => Self::File(FileMeta { |
270 | path: f.path.to_owned().into(), | 270 | path: f.path.to_owned(), |
271 | krate: f.crate_name.to_owned().into(), | 271 | krate: f.crate_name.to_owned(), |
272 | deps: f.deps.to_owned(), | 272 | deps: f.deps.to_owned(), |
273 | cfg: f.cfg.to_owned(), | 273 | cfg: f.cfg.to_owned(), |
274 | edition: f | 274 | edition: f |