Skip to content

Commit

Permalink
nest or patterns (clippy::unnested_or_patterns)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel.eades authored and Byron committed Aug 20, 2024
1 parent d636dc6 commit 43c6e8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ where
.push(state.text_for_header.take().unwrap_or_default());
Ok(())
}
ref t @ TagEnd::TableRow | ref t @ TagEnd::TableHead => {
ref t @ (TagEnd::TableRow | TagEnd::TableHead) => {
if state.newlines_before_start < options.newlines_after_rest {
state.newlines_before_start = options.newlines_after_rest;
}
Expand Down

0 comments on commit 43c6e8a

Please sign in to comment.