mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-24 20:34:53 +00:00
Run nightly Clippy over the Ruff repo (#5670)
## Summary
This is the result of running `cargo +nightly clippy --workspace
--all-targets --all-features -- -D warnings` and fixing all violations.
Just wanted to see if there were any interesting new checks on nightly
👀
This commit is contained in:
parent
e7e2f44440
commit
4dee49d6fa
40 changed files with 220 additions and 470 deletions
|
@ -136,7 +136,7 @@ for node in nodes:
|
|||
fn format(&self) -> Self::Format<'_> {{
|
||||
FormatRefWithRule::new(
|
||||
self,
|
||||
crate::{groups[group_for_node(node)]}::{to_camel_case(node)}::Format{node}::default(),
|
||||
crate::{groups[group_for_node(node)]}::{to_camel_case(node)}::Format{node},
|
||||
)
|
||||
}}
|
||||
}}
|
||||
|
@ -149,7 +149,7 @@ for node in nodes:
|
|||
fn into_format(self) -> Self::Format {{
|
||||
FormatOwnedWithRule::new(
|
||||
self,
|
||||
crate::{groups[group_for_node(node)]}::{to_camel_case(node)}::Format{node}::default(),
|
||||
crate::{groups[group_for_node(node)]}::{to_camel_case(node)}::Format{node},
|
||||
)
|
||||
}}
|
||||
}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue