From b4d26619d38e3f8b9fbcdf2f83daf0da240f2a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Mon, 24 Jul 2017 12:13:19 +0200 Subject: [PATCH] style: Improve the assertion message in restyle_kind(). --- components/style/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/data.rs b/components/style/data.rs index 21d35252304..c835593fed2 100644 --- a/components/style/data.rs +++ b/components/style/data.rs @@ -324,7 +324,7 @@ impl ElementData { } debug_assert!(hint.has_recascade_self(), - "We definitely need to do something!"); + "We definitely need to do something: {:?}!", hint); return RestyleKind::CascadeOnly; }