We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42a0d2e commit 2d26c8eCopy full SHA for 2d26c8e
src/paf.rs
@@ -154,7 +154,7 @@ pub fn parse_paf_bgzf<R: std::io::Read + std::io::Seek>(
154
}
155
156
// Convert to string for parsing (excluding newline)
157
- let line_len = if line_bytes.ends_with(&[b'\n']) {
+ let line_len = if line_bytes.ends_with(b"\n") {
158
line_bytes.len() - 1
159
} else {
160
line_bytes.len()
0 commit comments