Skip to content
This repository was archived by the owner on Nov 1, 2023. It is now read-only.

Commit 8d4c7df

Browse files
committed
Deref
1 parent 8c887ad commit 8d4c7df

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agent/coverage/src/binary.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl DebugInfoCache {
179179
continue;
180180
}
181181

182-
blocks.map.insert(block.offset, block);
182+
blocks.map.insert(block.offset, *block);
183183
}
184184
}
185185
}
@@ -257,7 +257,7 @@ pub fn find_coverage_sites(
257257
continue;
258258
}
259259

260-
blocks.map.insert(block.offset, block);
260+
blocks.map.insert(block.offset, *block);
261261
}
262262
}
263263
}

0 commit comments

Comments
 (0)