aboutsummaryrefslogtreecommitdiff
path: root/benches/registry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'benches/registry.rs')
-rw-r--r--benches/registry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/benches/registry.rs b/benches/registry.rs
index 9bfe9c4..27dc65d 100644
--- a/benches/registry.rs
+++ b/benches/registry.rs
@@ -4,7 +4,7 @@ use opengl_registry::Registry;
fn bench_registry(crit: &mut Criterion)
{
crit.bench_function("retrieve registry from included XML file", |bencher| {
- bencher.iter(Registry::retrieve)
+ bencher.iter(|| Registry::retrieve().unwrap())
});
}