Allow unused imports for AsciiExt in style code.

See #19128, this part is cherry-picked so Gecko can build with rust nightly.
This commit is contained in:
Simon Sapin 2017-11-09 12:36:16 +01:00 committed by Emilio Cobos Álvarez
parent ae5dca985e
commit 954b2cc3d8
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
23 changed files with 25 additions and 25 deletions

View file

@ -13,7 +13,7 @@ use gecko_bindings::bindings::Gecko_ReleaseAtom;
use gecko_bindings::structs::{nsAtom, nsAtom_AtomKind, nsStaticAtom};
use nsstring::{nsAString, nsStr};
use precomputed_hash::PrecomputedHash;
use std::ascii::AsciiExt;
#[allow(unused_imports)] use std::ascii::AsciiExt;
use std::borrow::{Cow, Borrow};
use std::char::{self, DecodeUtf16};
use std::fmt::{self, Write};