Skip to content

Commit

Permalink
chore: Allow file extension comparisons in type3
Browse files Browse the repository at this point in the history
  • Loading branch information
ysthakur committed Aug 18, 2023
1 parent cde586a commit 0f5f963
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parse/type3.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ use super::{util, Flag};
/// Ported from Fish's `Type3ManParser`
/// Fish's `Type3ManParser` doesn't handle HP...IP...HP, but the man page for
/// sed, at least, uses that, so this parser handles that too.
#[allow(clippy::case_sensitive_file_extension_comparisons)]
pub fn parse(page_text: &str) -> Option<Vec<Flag>> {
match util::get_section("DESCRIPTION", page_text) {
Some(content) => {
Expand Down

0 comments on commit 0f5f963

Please sign in to comment.