Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
augustelalande committed Jul 19, 2024
1 parent c9bff03 commit b9da62d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/ruff_linter/src/rules/pydocstyle/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ pub(crate) fn get_section_contexts<'a>(

// Otherwise, use whichever convention matched more sections.
if google_sections.len() > numpy_sections.len() {
return google_sections;
google_sections
} else {
return numpy_sections;
numpy_sections
}
}
}
Expand Down

0 comments on commit b9da62d

Please sign in to comment.