Skip to content

Commit 6033642

Browse files
Fix deprecation warning
1 parent bcf3db6 commit 6033642

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

collector/src/main.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ fn bench(
321321
}
322322

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

0 commit comments

Comments
 (0)