Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Manishearth committed Aug 2, 2016
1 parent 1e79732 commit e69f639
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/style/matching.rs
Expand Up @@ -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};
Expand Down
1 change: 0 additions & 1 deletion components/style/traversal.rs
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion components/style/values/specified/mod.rs
Expand Up @@ -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 { })
}

Expand Down
3 changes: 3 additions & 0 deletions tests/unit/style/parsing/basic_shape.rs
@@ -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/. */

0 comments on commit e69f639

Please sign in to comment.