Skip to content

Commit f973ee0

Browse files
committed
Eliminate useless borrow
1 parent 6e7877f commit f973ee0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ pub fn split_and_expand(build_script_path: &Path) -> Result<Vec<String>> {
119119
.into_iter()
120120
.map(|arg| expand(&arg, Some(build_script_path)))
121121
.collect::<Result<Vec<_>>>()?;
122-
eprintln!("expanded `BUILD_WRAP_CMD`: {:#?}", &expanded_args);
122+
eprintln!("expanded `BUILD_WRAP_CMD`: {expanded_args:#?}");
123123
ensure!(
124124
!expanded_args.is_empty(),
125125
"expanded `BUILD_WRAP_CMD` is empty or all whitespace"

0 commit comments

Comments
 (0)