From 9674feebba8a2d01919d04873618f8230160ddee Mon Sep 17 00:00:00 2001 From: Josh Matthews Date: Mon, 6 Apr 2015 21:09:54 -0400 Subject: [PATCH] Cleanup tabs. --- components/net/mime_classifier.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/components/net/mime_classifier.rs b/components/net/mime_classifier.rs index 157f09c1fca..773436d92d9 100644 --- a/components/net/mime_classifier.rs +++ b/components/net/mime_classifier.rs @@ -552,7 +552,7 @@ impl ByteMatcher { leading_ignore: &[] } } - // The JPEG Start of Image marker followed by the indicator byte of another marker. + // The JPEG Start of Image marker followed by the indicator byte of another marker. fn image_jpeg()->ByteMatcher { ByteMatcher{ pattern: b"\xFF\xD8\xFF", @@ -625,7 +625,7 @@ impl ByteMatcher { leading_ignore: &[] } } - // The string "RIFF" followed by four bytes followed by the string "WAVE", the WAVE signature. + // The string "RIFF" followed by four bytes followed by the string "WAVE", the WAVE signature. fn audio_wave()->ByteMatcher { ByteMatcher{ pattern: b"RIFF\x00\x00\x00\x00WAVE", @@ -893,7 +893,7 @@ impl ByteMatcher { leading_ignore: &[] } } - // The string "ttcf", the TrueType Collection signature. + // The string "ttcf", the TrueType Collection signature. // TODO: Use this in font context classifier #[allow(dead_code)] fn true_type_collection()->ByteMatcher { @@ -904,7 +904,7 @@ impl ByteMatcher { leading_ignore: &[] } } - // The string "wOFF", the Web Open Font Format signature. + // The string "wOFF", the Web Open Font Format signature. // TODO: Use this in font context classifier #[allow(dead_code)] fn application_font_woff()->ByteMatcher { @@ -942,7 +942,7 @@ impl ByteMatcher { leading_ignore: &[] } } - // The string "%!PS-Adobe-", the PostScript signature. + // The string "%!PS-Adobe-", the PostScript signature. fn application_postscript()->ByteMatcher { ByteMatcher{ pattern: b"%!PS-Adobe-", @@ -951,7 +951,7 @@ impl ByteMatcher { leading_ignore: &[] } } - // UTF-16BE BOM + // UTF-16BE BOM fn text_plain_utf_16be_bom()->ByteMatcher { ByteMatcher{ pattern: b"\xFE\xFF\x00\x00",