diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2024-03-22 00:33:31 +0100 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2024-03-22 10:02:09 +0100 |
| commit | 7c9fe30ce4313cc9e77030ca1e66a7c88a8ffd02 (patch) | |
| tree | 560f40d698316be56977183811df62eb22a54532 /tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs | |
| parent | 9d6f41691ed9dbfaec2a2df2661c42451f2fe0d3 (diff) | |
| download | rust-7c9fe30ce4313cc9e77030ca1e66a7c88a8ffd02.tar.gz rust-7c9fe30ce4313cc9e77030ca1e66a7c88a8ffd02.zip | |
Do not warn on .map(_::clone) for Arc, Rc, and their weak variants
Those constructions are idiomatic, and using `Arc::clone(x)` and `Rc::clone(x)` is often the recommended way of cloning a `Arc` or a `Rc`.
Diffstat (limited to 'tests/codegen/patchable-function-entry/patchable-function-entry-both-flags.rs')
0 files changed, 0 insertions, 0 deletions
