mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Auto merge of #20194 - emilio:ascii-ext-stuff, r=nox
style: remove unused AsciiExt imports. eq_ignore_ascii_case is not in AsciiExt since rustc 1.23. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20194) <!-- Reviewable:end -->
This commit is contained in:
commit
fbeb5a81a8
21 changed files with 0 additions and 27 deletions
|
@ -14,8 +14,6 @@ use gecko_bindings::bindings;
|
|||
use malloc_size_of::{MallocSizeOf, MallocSizeOfOps};
|
||||
use parser::{Parse, ParserContext};
|
||||
use properties::longhands::system_font::SystemFont;
|
||||
#[allow(unused_imports)]
|
||||
use std::ascii::AsciiExt;
|
||||
use std::fmt::{self, Write};
|
||||
use style_traits::{CssWriter, ParseError, StyleParseErrorKind, ToCss};
|
||||
use values::CustomIdent;
|
||||
|
@ -1855,7 +1853,6 @@ impl ToComputedValue for FontLanguageOverride {
|
|||
|
||||
#[inline]
|
||||
fn to_computed_value(&self, _context: &Context) -> computed::FontLanguageOverride {
|
||||
#[allow(unused_imports)] use std::ascii::AsciiExt;
|
||||
match *self {
|
||||
FontLanguageOverride::Normal => computed::FontLanguageOverride(0),
|
||||
FontLanguageOverride::Override(ref lang) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue