From dcd03fdd54c529dd8cfe4f5b53d30d3770d7259b Mon Sep 17 00:00:00 2001 From: Richard Schneeman Date: Tue, 15 Oct 2024 12:24:59 -0500 Subject: [PATCH] Update buildpacks/ruby/src/steps/rake_assets_install.rs Co-authored-by: Rune Soerensen --- buildpacks/ruby/src/steps/rake_assets_install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildpacks/ruby/src/steps/rake_assets_install.rs b/buildpacks/ruby/src/steps/rake_assets_install.rs index 8c561a37..58938d35 100644 --- a/buildpacks/ruby/src/steps/rake_assets_install.rs +++ b/buildpacks/ruby/src/steps/rake_assets_install.rs @@ -65,8 +65,8 @@ pub(crate) fn rake_assets_install( ]; let caches = cache_config - .iter() - .map(|config| AppCache::new_and_load(context, config.to_owned())) + .into_iter() + .map(|config| AppCache::new_and_load(context, config)) .collect::, CacheError>>() .map_err(RubyBuildpackError::InAppDirCacheError)?;