Skip to content

Commit

Permalink
gff/reader/records: Fix clippy::redundant_guards warning
Browse files Browse the repository at this point in the history
This was added in Rust 1.73.0 / clippy 0.1.73 (cc66ad4 2023-10-03).
  • Loading branch information
zaeleus committed Oct 6, 2023
1 parent 1c73efd commit 814944a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion noodles-gff/src/reader/records.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ where
loop {
match self.lines.next()? {
Ok(line) => match line {
Line::Directive(d) if d == Directive::StartOfFasta => return None,
Line::Directive(Directive::StartOfFasta) => return None,
Line::Record(r) => return Some(Ok(r)),
_ => {}
},
Expand Down

0 comments on commit 814944a

Please sign in to comment.