Skip to content

Commit c447ffd

Browse files
committed
Fix loading
1 parent e745805 commit c447ffd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benches/execution.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub fn criterion_benchmark(c: &mut Criterion) {
105105
.into_iter()
106106
.map(|p| {
107107
let name = p.file_name().unwrap().to_os_string();
108-
let contents = fs::read_to_string(&name).unwrap();
108+
let contents = fs::read_to_string(p).unwrap();
109109
(name.into_string().unwrap(), contents)
110110
})
111111
.collect();

0 commit comments

Comments
 (0)