Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused imports. #12903

Merged
merged 1 commit into from Aug 19, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Remove unused imports; handle IO failure in append_serialization.

  • Loading branch information
Ms2ger committed Aug 18, 2016
commit 4ede9f679afefdb177519dac3d84787daa0e0232
@@ -468,7 +468,7 @@ fn append_serialization<'a, W, I>(dest: &mut W,
return append_declaration_value(dest, appendable_value, is_important);
}

write!(dest, "{}:", property_name);
try!(write!(dest, "{}:", property_name));

// for normal parsed values, add a space between key: and value
match &appendable_value {
@@ -6,15 +6,14 @@

use animation;
use context::{LocalStyleContext, SharedStyleContext, StyleContext};
use dom::{OpaqueNode, TElement, TNode, TRestyleDamage, UnsafeNode};
use dom::{OpaqueNode, TNode, TRestyleDamage, UnsafeNode};
use matching::{ApplicableDeclarations, ElementMatchMethods, MatchMethods, StyleSharingResult};
use selectors::bloom::BloomFilter;
use selectors::matching::StyleRelations;
use std::cell::RefCell;
use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering};
use tid::tid;
use util::opts;
use values::HasViewportPercentage;

/// Every time we do another layout, the old bloom filters are invalid. This is
/// detected by ticking a generation number every layout.
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.