mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Use debug_assert_eq!.
This commit is contained in:
parent
7178e9bf69
commit
57ebb2c8af
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue