style: Use debug_assert_eq!.

This commit is contained in:
Emilio Cobos Álvarez 2018-02-05 04:05:04 +01:00
parent 7178e9bf69
commit 57ebb2c8af
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -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,