From 57ebb2c8afcde2932a397b0212078cbf7f68272a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 5 Feb 2018 04:05:04 +0100 Subject: [PATCH] style: Use debug_assert_eq!. --- components/style/custom_properties.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/custom_properties.rs b/components/style/custom_properties.rs index ae16a4437bb..a0c74497779 100644 --- a/components/style/custom_properties.rs +++ b/components/style/custom_properties.rs @@ -701,7 +701,7 @@ fn substitute_all(custom_properties_map: &mut CustomPropertiesMap) { // Add new entry to the information table. let index = context.count; context.count += 1; - debug_assert!(index == context.var_info.len()); + debug_assert_eq!(index, context.var_info.len()); context.var_info.push(VarInfo { name: Some(name), lowlink: index,