mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Cleanup tabs.
This commit is contained in:
parent
4a78da1158
commit
9674feebba
1 changed files with 6 additions and 6 deletions
|
@ -552,7 +552,7 @@ impl ByteMatcher {
|
||||||
leading_ignore: &[]
|
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 {
|
fn image_jpeg()->ByteMatcher {
|
||||||
ByteMatcher{
|
ByteMatcher{
|
||||||
pattern: b"\xFF\xD8\xFF",
|
pattern: b"\xFF\xD8\xFF",
|
||||||
|
@ -625,7 +625,7 @@ impl ByteMatcher {
|
||||||
leading_ignore: &[]
|
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 {
|
fn audio_wave()->ByteMatcher {
|
||||||
ByteMatcher{
|
ByteMatcher{
|
||||||
pattern: b"RIFF\x00\x00\x00\x00WAVE",
|
pattern: b"RIFF\x00\x00\x00\x00WAVE",
|
||||||
|
@ -893,7 +893,7 @@ impl ByteMatcher {
|
||||||
leading_ignore: &[]
|
leading_ignore: &[]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// The string "ttcf", the TrueType Collection signature.
|
// The string "ttcf", the TrueType Collection signature.
|
||||||
// TODO: Use this in font context classifier
|
// TODO: Use this in font context classifier
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn true_type_collection()->ByteMatcher {
|
fn true_type_collection()->ByteMatcher {
|
||||||
|
@ -904,7 +904,7 @@ impl ByteMatcher {
|
||||||
leading_ignore: &[]
|
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
|
// TODO: Use this in font context classifier
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
fn application_font_woff()->ByteMatcher {
|
fn application_font_woff()->ByteMatcher {
|
||||||
|
@ -942,7 +942,7 @@ impl ByteMatcher {
|
||||||
leading_ignore: &[]
|
leading_ignore: &[]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// The string "%!PS-Adobe-", the PostScript signature.
|
// The string "%!PS-Adobe-", the PostScript signature.
|
||||||
fn application_postscript()->ByteMatcher {
|
fn application_postscript()->ByteMatcher {
|
||||||
ByteMatcher{
|
ByteMatcher{
|
||||||
pattern: b"%!PS-Adobe-",
|
pattern: b"%!PS-Adobe-",
|
||||||
|
@ -951,7 +951,7 @@ impl ByteMatcher {
|
||||||
leading_ignore: &[]
|
leading_ignore: &[]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// UTF-16BE BOM
|
// UTF-16BE BOM
|
||||||
fn text_plain_utf_16be_bom()->ByteMatcher {
|
fn text_plain_utf_16be_bom()->ByteMatcher {
|
||||||
ByteMatcher{
|
ByteMatcher{
|
||||||
pattern: b"\xFE\xFF\x00\x00",
|
pattern: b"\xFE\xFF\x00\x00",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue