diff options
| author | Jason Newcomb <jsnewcomb@pm.me> | 2021-03-25 09:25:04 -0400 |
|---|---|---|
| committer | Jason Newcomb <jsnewcomb@pm.me> | 2021-04-15 08:19:40 -0400 |
| commit | ce5e927713ddd32096f4e73f7a2c339cc8163d82 (patch) | |
| tree | 45caf3b8751de82133aa642e9b77715249a5ea48 /library/std/src/sys/unix/stack_overflow.rs | |
| parent | b1c675f3fc682201cdb28719133285b878e2d157 (diff) | |
| download | rust-ce5e927713ddd32096f4e73f7a2c339cc8163d82.tar.gz rust-ce5e927713ddd32096f4e73f7a2c339cc8163d82.zip | |
Improve `map_entry` lint
Fix false positives where the map is used before inserting into the map. Fix false positives where two insertions happen. Suggest using `if let Entry::Vacant(e) = _.entry(_)` when `or_insert` might be a semantic change
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
