From ca0358ab648048f971d578577fe80e1fd88c7823 Mon Sep 17 00:00:00 2001 From: Yan Chen <48968912+chenyan-dfinity@users.noreply.github.com> Date: Wed, 17 Jan 2024 15:49:55 -0800 Subject: [PATCH] fix --- src/dfx/src/config/cache.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dfx/src/config/cache.rs b/src/dfx/src/config/cache.rs index 7491d8e701..401b8597ae 100644 --- a/src/dfx/src/config/cache.rs +++ b/src/dfx/src/config/cache.rs @@ -130,7 +130,7 @@ pub fn install_version(v: &str, force: bool) -> Result { // Copy our own binary in the cache. let dfx = temp_p.join("dfx"); - #[allow(clippy::needless_borrow)] + #[allow(clippy::needless_borrows_for_generic_args)] dfx_core::fs::write( &dfx, dfx_core::fs::read(¤t_exe).map_err(UnifiedIoError::from)?,