mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
Remove unneeded dead_code annotations.
This commit is contained in:
parent
6ba66f43cf
commit
3d8881c6f2
1 changed files with 0 additions and 10 deletions
|
@ -950,8 +950,6 @@ impl ByteMatcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//34 bytes followed by the string "LP", the Embedded OpenType signature.
|
//34 bytes followed by the string "LP", the Embedded OpenType signature.
|
||||||
// TODO: Use this in font context classifier
|
|
||||||
#[allow(dead_code)]
|
|
||||||
fn application_vnd_ms_font_object() -> ByteMatcher {
|
fn application_vnd_ms_font_object() -> ByteMatcher {
|
||||||
ByteMatcher {
|
ByteMatcher {
|
||||||
pattern: b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
|
pattern: b"\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\
|
||||||
|
@ -965,8 +963,6 @@ impl ByteMatcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//4 bytes representing the version number 1.0, a TrueType signature.
|
//4 bytes representing the version number 1.0, a TrueType signature.
|
||||||
// TODO: Use this in font context classifier
|
|
||||||
#[allow(dead_code)]
|
|
||||||
fn true_type() -> ByteMatcher {
|
fn true_type() -> ByteMatcher {
|
||||||
ByteMatcher {
|
ByteMatcher {
|
||||||
pattern: b"\x00\x01\x00\x00",
|
pattern: b"\x00\x01\x00\x00",
|
||||||
|
@ -976,8 +972,6 @@ impl ByteMatcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//The string "OTTO", the OpenType signature.
|
//The string "OTTO", the OpenType signature.
|
||||||
// TODO: Use this in font context classifier
|
|
||||||
#[allow(dead_code)]
|
|
||||||
fn open_type() -> ByteMatcher {
|
fn open_type() -> ByteMatcher {
|
||||||
ByteMatcher {
|
ByteMatcher {
|
||||||
pattern: b"OTTO",
|
pattern: b"OTTO",
|
||||||
|
@ -987,8 +981,6 @@ impl ByteMatcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 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 {
|
fn true_type_collection() -> ByteMatcher {
|
||||||
ByteMatcher {
|
ByteMatcher {
|
||||||
pattern: b"ttcf",
|
pattern: b"ttcf",
|
||||||
|
@ -998,8 +990,6 @@ impl ByteMatcher {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 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 {
|
fn application_font_woff() -> ByteMatcher {
|
||||||
ByteMatcher {
|
ByteMatcher {
|
||||||
pattern: b"wOFF",
|
pattern: b"wOFF",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue