aboutsummaryrefslogtreecommitdiff
path: root/incria/benches
diff options
context:
space:
mode:
authortcmal <tcmal>2023-06-17 14:21:15 +0000
committerAria <me@aria.rip>2023-10-01 17:31:30 +0100
commit3291ea405b60695a25703e713c7fc47dda602e8d (patch)
tree64a6e3d48c9ed1e7497d13b72f4979642a88637a /incria/benches
parent4dae16cae8d76f73dea60f09042b0c4b6585408c (diff)
avoid deadlocks by no longer returning read guard
Diffstat (limited to 'incria/benches')
-rw-r--r--incria/benches/pascal.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/incria/benches/pascal.rs b/incria/benches/pascal.rs
index 3c06de1..01befe5 100644
--- a/incria/benches/pascal.rs
+++ b/incria/benches/pascal.rs
@@ -85,7 +85,7 @@ fn benchmarks_with_n(c: &mut Criterion, n: isize) {
#[inline(always)]
async fn do_calc(key: &Key) {
- drop(deps::with_node_id(deps::next_node_id(), pascal_mapping().get(key)).await);
+ deps::with_node_id(deps::next_node_id(), pascal_mapping().get(key)).await;
}
#[inline(always)]