Remove unused imports

This commit is contained in:
Manish Goregaokar 2016-08-02 12:07:12 +05:30
parent 1e7973263f
commit e69f6396e2
No known key found for this signature in database
GPG key ID: 3BBF4D3E2EF79F98
4 changed files with 5 additions and 3 deletions

View file

@ -6,7 +6,7 @@
#![allow(unsafe_code)]
use animation::{self, Animation};
use animation;
use arc_ptr_eq;
use cache::{LRUCache, SimpleHashCache};
use context::{StyleContext, SharedStyleContext};

View file

@ -12,7 +12,6 @@ use selector_impl::SelectorImplExt;
use selectors::Element;
use selectors::bloom::BloomFilter;
use std::cell::RefCell;
use std::sync::Arc;
use tid::tid;
use util::opts;
use values::HasViewportPercentage;

View file

@ -1189,7 +1189,7 @@ pub struct UrlExtraData {
impl UrlExtraData {
#[cfg(feature = "servo")]
pub fn make_from(_context: &ParserContext) -> Option<UrlExtraData> {
pub fn make_from(_: &ParserContext) -> Option<UrlExtraData> {
Some(UrlExtraData { })
}

View file

@ -0,0 +1,3 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */