diff --git a/crates/bin/docs_rs_import_release/src/rustdoc.rs b/crates/bin/docs_rs_import_release/src/rustdoc.rs index 4054fbb6a..290b5a0ef 100644 --- a/crates/bin/docs_rs_import_release/src/rustdoc.rs +++ b/crates/bin/docs_rs_import_release/src/rustdoc.rs @@ -129,7 +129,7 @@ pub(crate) async fn find_successful_build_targets( let mut potential_other_targets: HashSet = other_targets.into_iter().map(ToString::to_string).collect(); - potential_other_targets.extend(fetch_target_list().await?.into_iter()); + potential_other_targets.extend(fetch_target_list().await?); potential_other_targets.remove(default_target); let mut targets: Vec = vec![default_target.into()]; diff --git a/crates/bin/docs_rs_web/src/cache.rs b/crates/bin/docs_rs_web/src/cache.rs index ae05c7772..195198172 100644 --- a/crates/bin/docs_rs_web/src/cache.rs +++ b/crates/bin/docs_rs_web/src/cache.rs @@ -168,7 +168,7 @@ impl CachePolicy { cache_headers .surrogate_keys .get_or_insert_with(SurrogateKeys::new) - .try_extend(surrogate_keys.into_iter())?; + .try_extend(surrogate_keys)?; cache_headers } else { diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 0d8ed42d9..6360c1888 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "1.94.0" +channel = "1.95.0" components = ["rustfmt", "clippy"]