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,