diff options
author | Maan2003 <[email protected]> | 2021-06-13 04:54:16 +0100 |
---|---|---|
committer | Maan2003 <[email protected]> | 2021-06-13 04:54:16 +0100 |
commit | c9b4ac5be4daaabc062ab1ee663eba8594750003 (patch) | |
tree | 6090c8c38c735875c916255920525cf5fff45c75 /crates/rust-analyzer/src/cargo_target_spec.rs | |
parent | d6737e55fb49d286b5e646f57975b27b2c95ce92 (diff) |
clippy::redudant_borrow
Diffstat (limited to 'crates/rust-analyzer/src/cargo_target_spec.rs')
-rw-r--r-- | crates/rust-analyzer/src/cargo_target_spec.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/cargo_target_spec.rs b/crates/rust-analyzer/src/cargo_target_spec.rs index f4cd43448..5d8547152 100644 --- a/crates/rust-analyzer/src/cargo_target_spec.rs +++ b/crates/rust-analyzer/src/cargo_target_spec.rs | |||
@@ -123,7 +123,7 @@ impl CargoTargetSpec { | |||
123 | let res = CargoTargetSpec { | 123 | let res = CargoTargetSpec { |
124 | workspace_root: cargo_ws.workspace_root().to_path_buf(), | 124 | workspace_root: cargo_ws.workspace_root().to_path_buf(), |
125 | cargo_toml: package_data.manifest.clone(), | 125 | cargo_toml: package_data.manifest.clone(), |
126 | package: cargo_ws.package_flag(&package_data), | 126 | package: cargo_ws.package_flag(package_data), |
127 | target: target_data.name.clone(), | 127 | target: target_data.name.clone(), |
128 | target_kind: target_data.kind, | 128 | target_kind: target_data.kind, |
129 | }; | 129 | }; |