Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
BoxyUwU committed Aug 6, 2024
1 parent 1254911 commit f84e1b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serializers/extra.rs
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ impl CollectWarnings {
value_str.push_str("with value `");
crate::errors::write_truncated_to_50_bytes(&mut value_str, input_str.to_cow())
.expect("Writing to a `String` failed");
value_str.push_str("`");
value_str.push('`');

self.add_warning(format!(
"Expected `{field_type}` but got `{type_name}` {value_str} - serialized value may not be as expected"
Expand Down

0 comments on commit f84e1b7

Please sign in to comment.