Skip to content

Commit

Permalink
Correct version of literal_string_with_formatting_args
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.
  • Loading branch information
kpreid authored Jan 9, 2025
1 parent 19e305b commit db4aac6
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
Expand Up @@ -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"
Expand Down

0 comments on commit db4aac6

Please sign in to comment.