remove redundant closures (clippy::redundant_closure)
This commit is contained in:
parent
18cb4ad3b9
commit
e2272cdffc
11 changed files with 42 additions and 45 deletions
|
@ -394,7 +394,7 @@ impl BasicCoverageBlockData {
|
|||
let operand = counter_kind.as_operand_id();
|
||||
if let Some(replaced) = self
|
||||
.edge_from_bcbs
|
||||
.get_or_insert_with(|| FxHashMap::default())
|
||||
.get_or_insert_with(FxHashMap::default)
|
||||
.insert(from_bcb, counter_kind)
|
||||
{
|
||||
Error::from_string(format!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue