Skip to content

Commit

Permalink
nit: clippy catches
Browse files Browse the repository at this point in the history
  • Loading branch information
Farhad-Shabani committed Jul 12, 2023
1 parent c8d5fc2 commit a3540ae
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions proto/tests/unit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,7 @@ pub fn protobuf_struct_length_delimited_example() {
};

let mut wire = vec![];
my_domain_type
.clone()
.encode_length_delimited(&mut wire)
.unwrap();
my_domain_type.encode_length_delimited(&mut wire).unwrap();
assert_eq!(
wire,
vec![14, 10, 12, 72, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33]
Expand Down

0 comments on commit a3540ae

Please sign in to comment.