Skip to content

Commit 07969f3

Browse files
committed
Fix a clippy warning
1 parent 2dcb646 commit 07969f3

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)