Skip to content

Commit cf40845

Browse files
committed
Remove needless borrow from encoding.rs
1 parent c7c7794 commit cf40845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

front-end/tests/encoding.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ mod malformed {
146146
) -> TestResult {
147147
pasfmt()?
148148
.write_stdin(data)
149-
.arg(&format!("-Cencoding={encoding}"))
149+
.arg(format!("-Cencoding={encoding}"))
150150
.assert()
151151
.failure()
152152
.stderr(predicate::str::contains(format!(

0 commit comments

Comments
 (0)