Skip to content

Commit

Permalink
Fix error message that is printed when multiple Serde formats are sel…
Browse files Browse the repository at this point in the history
…ected

Found by Clippy's `literal_string_with_formatting_args` lint:

https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
  • Loading branch information
smoelius committed Jan 2, 2025
1 parent a936c8a commit 70bd295
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/src/serde_format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ pub fn as_feature() -> &'static str {

assert!(
formats.len() <= 1,
"{}",
"Multiple serde formats selected: {formats:?}"
);

Expand Down

0 comments on commit 70bd295

Please sign in to comment.