mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Auto merge of #7702 - frewsxcv:no-dead-code, r=nox
Remove unnecessary `allow(dead_code)` function attributes <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7702) <!-- Reviewable:end -->
This commit is contained in:
commit
434e1fa074
1 changed files with 0 additions and 4 deletions
|
@ -279,7 +279,6 @@ pub mod specified {
|
|||
_ => Err(())
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
pub fn parse(input: &mut Parser) -> Result<Length, ()> {
|
||||
Length::parse_internal(input, &AllowedNumericType::All)
|
||||
}
|
||||
|
@ -692,7 +691,6 @@ pub mod specified {
|
|||
_ => Err(())
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
#[inline]
|
||||
pub fn parse(input: &mut Parser) -> Result<LengthOrPercentage, ()> {
|
||||
LengthOrPercentage::parse_internal(input, &AllowedNumericType::All)
|
||||
|
@ -784,7 +782,6 @@ pub mod specified {
|
|||
_ => Err(())
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
#[inline]
|
||||
pub fn parse(input: &mut Parser) -> Result<LengthOrPercentageOrNone, ()> {
|
||||
LengthOrPercentageOrNone::parse_internal(input, &AllowedNumericType::All)
|
||||
|
@ -823,7 +820,6 @@ pub mod specified {
|
|||
_ => Err(())
|
||||
}
|
||||
}
|
||||
#[allow(dead_code)]
|
||||
#[inline]
|
||||
pub fn parse(input: &mut Parser) -> Result<LengthOrNone, ()> {
|
||||
LengthOrNone::parse_internal(input, &AllowedNumericType::All)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue