aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchansuke <chansuke@georepublic.de>2018-09-10 21:31:38 +0900
committerchansuke <chansuke@georepublic.de>2018-09-10 21:31:38 +0900
commit52a11d8237a631e92c86a80f4e24f6c7a0a8e091 (patch)
tree4dd60c5a29b855e66813b7810ce6e8e0b7aba716
parentf7630dad87da33449ce05b5e7a9ef6f747e9531d (diff)
downloadservo-52a11d8237a631e92c86a80f4e24f6c7a0a8e091.tar.gz
servo-52a11d8237a631e92c86a80f4e24f6c7a0a8e091.zip
Format component size_of_test
-rw-r--r--components/size_of_test/lib.rs12
1 files changed, 9 insertions, 3 deletions
diff --git a/components/size_of_test/lib.rs b/components/size_of_test/lib.rs
index fdd2cd62ec9..f190c24599d 100644
--- a/components/size_of_test/lib.rs
+++ b/components/size_of_test/lib.rs
@@ -13,16 +13,22 @@ macro_rules! size_of_test {
panic!(
"Your changes have decreased the stack size of {} from {} to {}. \
Good work! Please update the expected size in {}.",
- stringify!($t), old, new, file!()
+ stringify!($t),
+ old,
+ new,
+ file!()
)
} else if new > old {
panic!(
"Your changes have increased the stack size of {} from {} to {}. \
Please consider choosing a design which avoids this increase. \
If you feel that the increase is necessary, update the size in {}.",
- stringify!($t), old, new, file!()
+ stringify!($t),
+ old,
+ new,
+ file!()
)
}
}
- }
+ };
}