Skip to content

Commit 407cd83

Browse files
authored
Merge pull request #321 from erickt/warning
Fix a clippy warning
2 parents 2dcb646 + 07969f3 commit 407cd83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/message.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ quickcheck! {
2929
}
3030

3131
fn msg_vec_roundtrip(input: Vec<u8>) -> bool {
32-
let original = Message::from(&input.clone());
32+
let original = Message::from(&input);
3333
Message::from(input) == original
3434
}
3535
}

0 commit comments

Comments
 (0)