rust-analyzer/crates/hir-def/src/nameres
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
..
tests Parse and collect derive helpers for builtin derive macros 2022-12-06 16:00:46 +09:00
attr_resolution.rs style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
collector.rs Remove non-needed clones 2022-12-23 02:20:03 -05:00
diagnostics.rs Emit unconfigured code diagnostics for fields 2022-09-26 19:04:57 +01:00
mod_resolution.rs fix: unescape all occurrences of module name in module resolution 2022-08-31 03:51:37 +09:00
path_resolution.rs fix: check visibility of each segment in path resolution 2022-11-11 20:31:37 +09:00
proc_macro.rs Parse and collect derive helpers for builtin derive macros 2022-12-06 16:00:46 +09:00
tests.rs Fix tests that depended on loose visibility restriction 2022-11-11 20:31:46 +09:00