mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +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.
|
// Add new entry to the information table.
|
||||||
let index = context.count;
|
let index = context.count;
|
||||||
context.count += 1;
|
context.count += 1;
|
||||||
debug_assert!(index == context.var_info.len());
|
debug_assert_eq!(index, context.var_info.len());
|
||||||
context.var_info.push(VarInfo {
|
context.var_info.push(VarInfo {
|
||||||
name: Some(name),
|
name: Some(name),
|
||||||
lowlink: index,
|
lowlink: index,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue