Skip to content

Commit 424142c

Browse files
danieleadesdaniel.eades
authored andcommitted
remove unnecessary 'mut'
1 parent 01c1ebd commit 424142c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/encode.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ mod tests {
362362
);
363363

364364
// append plain encode onto prefix
365-
prefix.push_str(&mut encoded_data_no_prefix);
365+
prefix.push_str(&encoded_data_no_prefix);
366366

367367
assert_eq!(prefix, encoded_data_with_prefix);
368368

0 commit comments

Comments
 (0)