Skip to content

Commit

Permalink
Correct version of literal_string_with_formatting_args (#13974)
Browse files Browse the repository at this point in the history
It claims to be in 1.83 but in fact will not be until 1.85.

Evidence: <rust-lang/rust#134788> is where it
was merged into rust-lang/rust, and has a milestone of 1.85.

changelog: none
  • Loading branch information
Centri3 authored Jan 10, 2025
2 parents 64250a3 + db4aac6 commit ab55d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/literal_string_with_formatting_args.rs
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ declare_clippy_lint! {
/// let y = "hello";
/// x.expect(&format!("{y:?}"));
/// ```
#[clippy::version = "1.83.0"]
#[clippy::version = "1.85.0"]
pub LITERAL_STRING_WITH_FORMATTING_ARGS,
suspicious,
"Checks if string literals have formatting arguments"

0 comments on commit ab55d3f

Please sign in to comment.