1
Fork 0

Prefer Default::default over FxHash*::default in struct constructors

This commit is contained in:
Oliver Scherer 2018-10-16 16:57:53 +02:00
parent ee81739dc1
commit 3c9258e604
82 changed files with 237 additions and 362 deletions

View file

@ -75,7 +75,7 @@ impl MirPass for ElaborateDrops {
env: &env,
flow_inits,
flow_uninits,
drop_flags: FxHashMap::default(),
drop_flags: Default::default(),
patch: MirPatch::new(mir),
}.elaborate()
};