Skip to content
Permalink
Browse files

style: Undo minor debugging change.

  • Loading branch information
emilio committed Nov 30, 2019
1 parent f8e924f commit 59eef57eb77faea7ce11cd899647f40c3f333b8b
Showing with 1 addition and 3 deletions.
  1. +1 −3 components/style/rule_cache.rs
@@ -26,9 +26,7 @@ pub struct RuleCacheConditions {
impl RuleCacheConditions {
/// Sets the style as depending in the font-size value.
pub fn set_font_size_dependency(&mut self, font_size: NonNegativeLength) {
if let Some(f) = &self.font_size {
debug_assert_eq!(*f, font_size);
}
debug_assert!(self.font_size.map_or(true, |f| f == font_size));
self.font_size = Some(font_size);
}

0 comments on commit 59eef57

Please sign in to comment.
You can’t perform that action at this time.