From 8ff7ed8334bba96ea0a6eb1d80f25a7eda10c9d5 Mon Sep 17 00:00:00 2001 From: Chris Wong <lambda.fairy@gmail.com> Date: Sun, 1 Mar 2015 20:02:34 -0500 Subject: [PATCH] Switch from u8 to u32, as per style guidelines --- maud_macros/tests/tests.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maud_macros/tests/tests.rs b/maud_macros/tests/tests.rs index 6d03793..d322049 100644 --- a/maud_macros/tests/tests.rs +++ b/maud_macros/tests/tests.rs @@ -144,11 +144,11 @@ mod splices { /// Rating out of 10, where: /// * 0 is a naked mole rat with dysentery /// * 10 is Sweetie Belle in a milkshake - adorableness: u8, + adorableness: u32, } impl Creature { - fn repugnance(&self) -> u8 { + fn repugnance(&self) -> u32 { 10 - self.adorableness } }