We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ee5b00 commit f7f0ec5Copy full SHA for f7f0ec5
lang/rust/avro/src/ser.rs
@@ -1117,7 +1117,7 @@ mod tests {
1117
),
1118
(
1119
"vec_field2".to_owned(),
1120
- Value::Fixed(2, Vec::from(test.vec_field2.clone())),
+ Value::Fixed(2, test.vec_field2.clone()),
1121
1122
1123
"bytes_field".to_owned(),
@@ -1129,7 +1129,7 @@ mod tests {
1129
1130
1131
"vec_field3".to_owned(),
1132
- Value::Bytes(Vec::from(test.vec_field3.clone())),
+ Value::Bytes(test.vec_field3.clone()),
1133
1134
]);
1135
assert_eq!(expected, to_value(test).unwrap());
0 commit comments