aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/gecko_string_cache/mod.rs
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2017-11-09 12:36:16 +0100
committerEmilio Cobos Álvarez <emilio@crisal.io>2017-11-09 12:43:23 +0100
commit954b2cc3d882ddec8a93a9ce2be2a20e11507bec (patch)
tree488aa643a887431e3fa9567962f70b3dafa32243 /components/style/gecko_string_cache/mod.rs
parentae5dca985ee58fbcd18d7e470184beb2b7e3d547 (diff)
downloadservo-954b2cc3d882ddec8a93a9ce2be2a20e11507bec.tar.gz
servo-954b2cc3d882ddec8a93a9ce2be2a20e11507bec.zip
Allow unused imports for AsciiExt in style code.
See #19128, this part is cherry-picked so Gecko can build with rust nightly.
Diffstat (limited to 'components/style/gecko_string_cache/mod.rs')
-rw-r--r--components/style/gecko_string_cache/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/gecko_string_cache/mod.rs b/components/style/gecko_string_cache/mod.rs
index 14e7ef0c143..f0474620052 100644
--- a/components/style/gecko_string_cache/mod.rs
+++ b/components/style/gecko_string_cache/mod.rs
@@ -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};