mirror of
https://seed.radicle.dev/rad:z3qg5TKmN83afz2fj9z3fQjU8vaYE.git
synced 2026-10-18 19:10:37 +08:00
refactor: avoid unnecessary borrow
Found by clippy in Rust 1.97.1.
This commit is contained in:
+1
-1
@@ -153,7 +153,7 @@ impl Run {
|
||||
}
|
||||
};
|
||||
|
||||
let snippet = format!("set -xeuo pipefail\n{}", &runspec.shell);
|
||||
let snippet = format!("set -xeuo pipefail\n{}", runspec.shell);
|
||||
self.runcmd(&["bash", "-c", &snippet], &src)?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user