mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-10 15:14:29 +00:00
Change declare_lint! to declare_clippy_lint!
This commit is contained in:
parent
ddd75fbfec
commit
511aa654d7
1 changed files with 2 additions and 2 deletions
|
@ -88,9 +88,9 @@ declare_clippy_lint! {
|
|||
/// ```rust
|
||||
/// println!("{}", "foo");
|
||||
/// ```
|
||||
declare_lint! {
|
||||
declare_clippy_lint! {
|
||||
pub PRINT_LITERAL,
|
||||
Allow,
|
||||
style,
|
||||
"printing a literal with a format string"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue