style: Improve the assertion message in restyle_kind().

This commit is contained in:
Emilio Cobos Álvarez 2017-07-24 12:13:19 +02:00
parent af2b429557
commit b4d26619d3
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -324,7 +324,7 @@ impl ElementData {
} }
debug_assert!(hint.has_recascade_self(), debug_assert!(hint.has_recascade_self(),
"We definitely need to do something!"); "We definitely need to do something: {:?}!", hint);
return RestyleKind::CascadeOnly; return RestyleKind::CascadeOnly;
} }