Skip to content

Commit

Permalink
Fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-Simulacrum committed Dec 21, 2021
1 parent bcf3db6 commit 6033642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion collector/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ fn bench(
}

fn check_measureme_installed() -> Result<(), String> {
let not_installed = std::array::IntoIter::new(["summarize", "crox", "flamegraph"])
let not_installed = IntoIterator::into_iter(["summarize", "crox", "flamegraph"])
.filter(|n| !is_installed(n))
.collect::<Vec<_>>();
if not_installed.is_empty() {
Expand Down

0 comments on commit 6033642

Please sign in to comment.