Skip to content

Commit

Permalink
Remove redundant clone
Browse files Browse the repository at this point in the history
  • Loading branch information
MrGVSV committed Jun 11, 2022
1 parent 9e910fa commit 81e356c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_reflect/src/serde/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ mod tests {
value: String::from("I <3 Enums"),
};
let serializer = ReflectSerializer::new(&value, &registry);
let output = ron::ser::to_string_pretty(&serializer, config.clone()).unwrap();
let output = ron::ser::to_string_pretty(&serializer, config).unwrap();
let expected = r#"{
"type": "bevy_reflect::serde::ser::tests::enum_should_serialize::MyEnum",
"enum": {
Expand Down

0 comments on commit 81e356c

Please sign in to comment.