diff --git a/components/gfx/text/shaping/harfbuzz.rs b/components/gfx/text/shaping/harfbuzz.rs index 1359c304fee..f87906325e0 100644 --- a/components/gfx/text/shaping/harfbuzz.rs +++ b/components/gfx/text/shaping/harfbuzz.rs @@ -27,7 +27,6 @@ use harfbuzz::{hb_feature_t}; use harfbuzz::{RUST_hb_font_create}; use harfbuzz::{RUST_hb_font_destroy, RUST_hb_buffer_create}; use harfbuzz::{RUST_hb_font_funcs_create}; -use harfbuzz::{RUST_hb_font_funcs_destroy}; use harfbuzz::{RUST_hb_font_funcs_set_glyph_func}; use harfbuzz::{RUST_hb_font_funcs_set_glyph_h_advance_func}; use harfbuzz::{RUST_hb_font_funcs_set_glyph_h_kerning_func}; diff --git a/components/script/devtools.rs b/components/script/devtools.rs index 8b4dfb12e6f..3307eb20dc3 100644 --- a/components/script/devtools.rs +++ b/components/script/devtools.rs @@ -7,7 +7,6 @@ use devtools_traits::{EvaluateJSReply, NodeInfo, Modification, TimelineMarker, T use devtools_traits::{ConsoleAPI, PageError}; use dom::bindings::conversions::jsstring_to_str; use dom::bindings::conversions::FromJSValConvertible; -use dom::bindings::conversions::StringificationBehavior; use dom::bindings::js::Root; use dom::bindings::codegen::InheritTypes::{NodeCast, ElementCast}; use dom::bindings::codegen::Bindings::DocumentBinding::DocumentMethods; diff --git a/components/script/dom/element.rs b/components/script/dom/element.rs index 1b200ed4e61..8ebcfc3f3dc 100644 --- a/components/script/dom/element.rs +++ b/components/script/dom/element.rs @@ -67,7 +67,7 @@ use smallvec::VecLike; use style::legacy::{UnsignedIntegerAttribute, from_declaration}; use style::properties::{PropertyDeclarationBlock, PropertyDeclaration, parse_style_attribute}; use style::properties::DeclaredValue::SpecifiedValue; -use style::properties::longhands::{self, background_image, border_spacing, height}; +use style::properties::longhands::{self, background_image, border_spacing}; use style::values::CSSFloat; use style::values::specified::{self, CSSColor, CSSRGBA}; use util::geometry::Au;