diff --git a/collector/src/main.rs b/collector/src/main.rs index 71809d682..664cdae7a 100644 --- a/collector/src/main.rs +++ b/collector/src/main.rs @@ -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::>(); if not_installed.is_empty() {