rust/crates
Yuri Astrakhan 1d59c7b667 Remove non-needed clones
I am not certain if this will improve performance,
but it seems having a .clone() without any need should be removed.

This was done with clippy, and manually reviewed:

```
cargo clippy --fix -- -A clippy::all -D clippy::redundant_clone
```
2022-12-23 02:20:03 -05:00
..
base-db Fix tests not using appropriate target data 2022-12-21 20:23:43 +01:00
cfg ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
flycheck Properly implement Drop for JodGroupChild 2022-11-24 21:30:15 +01:00
hir Remove non-needed clones 2022-12-23 02:20:03 -05:00
hir-def Remove non-needed clones 2022-12-23 02:20:03 -05:00
hir-expand Compute data layout of types 2022-12-04 00:29:34 +03:30
hir-ty Remove non-needed clones 2022-12-23 02:20:03 -05:00
ide Remove non-needed clones 2022-12-23 02:20:03 -05:00
ide-assists Remove non-needed clones 2022-12-23 02:20:03 -05:00
ide-completion Remove non-needed clones 2022-12-23 02:20:03 -05:00
ide-db Encode the variants of HirFileId in a u32 with MSB as the tag 2022-11-25 23:28:35 +01:00
ide-diagnostics Remove non-needed clones 2022-12-23 02:20:03 -05:00
ide-ssr ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
limit ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
mbe fix: don't let mbe expr fragments match let exprs and inline consts 2022-12-20 20:31:47 +09:00
parser Remove non-needed clones 2022-12-23 02:20:03 -05:00
paths ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-api ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-srv Remove non-needed clones 2022-12-23 02:20:03 -05:00
proc-macro-srv-cli ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
proc-macro-test ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
profile ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
project-model Fix tests not using appropriate target data 2022-12-21 20:23:43 +01:00
rust-analyzer Remove non-needed clones 2022-12-23 02:20:03 -05:00
sourcegen ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
stdx ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
syntax Don't panic in Expr::needs_parens_in 2022-12-20 15:16:26 +00:00
test-utils Fix tests not using appropriate target data 2022-12-21 20:23:43 +01:00
text-edit ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
toolchain ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
tt Handle raw identifiers in proc macro server 2022-12-04 00:26:05 +09:00
vfs ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00
vfs-notify ⬆️ rust-analyzer 2022-11-23 17:24:03 +02:00