Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
maksym-arutyunyan committed Aug 9, 2024
1 parent 4ea7e9e commit d7b9cfc
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,11 @@ fn classify(path: &Path, features: Vec<String>) -> Strategy {
}

fn is_ignore_file(lines: &[String]) -> bool {
lines
.iter()
.any(|line| line.contains("keepsorted:ignore-file"))
lines.iter().any(|x| x.contains("keepsorted:ignore-file"))
}

fn is_ignore_block(lines: &[String]) -> bool {
lines
.iter()
.any(|line| line.contains("keepsorted:ignore-block"))
lines.iter().any(|x| x.contains("keepsorted:ignore-block"))
}

fn is_bazel(path: &Path) -> bool {
Expand Down

0 comments on commit d7b9cfc

Please sign in to comment.