From d43b40572d6a1c580a320ecce7cdeba36c33f265 Mon Sep 17 00:00:00 2001 From: weishu Date: Tue, 30 Jan 2024 12:59:24 +0800 Subject: [PATCH] ksud: clippy --- userspace/ksud/src/cli.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/ksud/src/cli.rs b/userspace/ksud/src/cli.rs index 7848c66e806b..e9bd94cb7bfd 100644 --- a/userspace/ksud/src/cli.rs +++ b/userspace/ksud/src/cli.rs @@ -285,7 +285,7 @@ pub fn run() -> Result<()> { Debug::Su => crate::ksu::grant_root(), Debug::Mount => event::mount_systemlessly(defs::MODULE_DIR), Debug::Xcp { src, dst } => { - utils::copy_sparse_file(&src, &dst)?; + utils::copy_sparse_file(src, dst)?; Ok(()) } Debug::Test => todo!(),