From f61151a726b19c1a325b21c4b879b612450d270d Mon Sep 17 00:00:00 2001 From: Manish Goregaokar Date: Mon, 23 Oct 2017 14:05:58 -0700 Subject: [PATCH] Revert diagnostics code from 12515374597604499d77e4d9da61821f1801a240 --- components/style/custom_properties.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/components/style/custom_properties.rs b/components/style/custom_properties.rs index 116899828b6..c0a540e5b17 100644 --- a/components/style/custom_properties.rs +++ b/components/style/custom_properties.rs @@ -168,13 +168,11 @@ where return; } self.index.retain(|key| !set.contains(key)); - self.values.begin_mutation(); // XXX It may be better to use retain when we back to use a // normal hashmap rather than DiagnosticHashMap. for key in set.iter() { self.values.remove(key); } - self.values.end_mutation(); debug_assert_eq!(self.values.len(), self.index.len()); } }