Skip to content

Commit f7f0ec5

Browse files
committed
AVRO-3631: Fix clippy issues
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
1 parent 0ee5b00 commit f7f0ec5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lang/rust/avro/src/ser.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,7 +1117,7 @@ mod tests {
11171117
),
11181118
(
11191119
"vec_field2".to_owned(),
1120-
Value::Fixed(2, Vec::from(test.vec_field2.clone())),
1120+
Value::Fixed(2, test.vec_field2.clone()),
11211121
),
11221122
(
11231123
"bytes_field".to_owned(),
@@ -1129,7 +1129,7 @@ mod tests {
11291129
),
11301130
(
11311131
"vec_field3".to_owned(),
1132-
Value::Bytes(Vec::from(test.vec_field3.clone())),
1132+
Value::Bytes(test.vec_field3.clone()),
11331133
),
11341134
]);
11351135
assert_eq!(expected, to_value(test).unwrap());

0 commit comments

Comments
 (0)