Skip to content

Commit

Permalink
Removed comment
Browse files Browse the repository at this point in the history
  • Loading branch information
PlamenHristov committed Jun 6, 2024
1 parent 32a3dc0 commit c1a4914
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/filesystem/nodes/metadata/mime_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ impl MimeGuesser {
[b'<', ..] => {
match &magic_bytes[1..]
.iter()
// check if it's [a-zA-Z] and only then apply the case-insensitive conversion
.map(|&b| b.to_ascii_uppercase())
.collect::<Vec<_>>().as_slice() {
[b'!', b'D', b'O', b'C', b'T', b'Y', b'P', b'E', b' ', b'H', b'T', b'M', b'L', tt, ..] if is_whitespace_or_tag_terminator(*tt) => Some(mime::TEXT_HTML),
Expand Down

0 comments on commit c1a4914

Please sign in to comment.