Revert uninlined_format_args change in test
I no longer believe in clippy's pedantic recommendation on this.
This commit is contained in:
parent
07fc9f689e
commit
35e5cf3e15
@ -6,7 +6,8 @@
|
||||
clippy::nonstandard_macro_braces,
|
||||
clippy::too_many_lines,
|
||||
clippy::trivially_copy_pass_by_ref,
|
||||
clippy::type_repetition_in_bounds
|
||||
clippy::type_repetition_in_bounds,
|
||||
clippy::uninlined_format_args,
|
||||
)]
|
||||
|
||||
use serde::de::{self, MapAccess, Unexpected, Visitor};
|
||||
@ -1235,7 +1236,7 @@ fn serialize_variant_as_string<S>(f1: &str, f2: &u8, serializer: S) -> Result<S:
|
||||
where
|
||||
S: Serializer,
|
||||
{
|
||||
serializer.collect_str(&format_args!("{f1};{f2:?}"))
|
||||
serializer.collect_str(&format_args!("{};{:?}", f1, f2))
|
||||
}
|
||||
|
||||
fn deserialize_string_as_variant<'de, D>(deserializer: D) -> Result<(String, u8), D::Error>
|
||||
|
Loading…
x
Reference in New Issue
Block a user