We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e745805 commit c447ffdCopy full SHA for c447ffd
benches/execution.rs
@@ -105,7 +105,7 @@ pub fn criterion_benchmark(c: &mut Criterion) {
105
.into_iter()
106
.map(|p| {
107
let name = p.file_name().unwrap().to_os_string();
108
- let contents = fs::read_to_string(&name).unwrap();
+ let contents = fs::read_to_string(p).unwrap();
109
(name.into_string().unwrap(), contents)
110
})
111
.collect();
0 commit comments