Switch from u8 to u32, as per style guidelines

This commit is contained in:
Chris Wong 2015-03-01 20:02:34 -05:00
parent ef1e305468
commit 8ff7ed8334

View file

@ -144,11 +144,11 @@ mod splices {
/// Rating out of 10, where: /// Rating out of 10, where:
/// * 0 is a naked mole rat with dysentery /// * 0 is a naked mole rat with dysentery
/// * 10 is Sweetie Belle in a milkshake /// * 10 is Sweetie Belle in a milkshake
adorableness: u8, adorableness: u32,
} }
impl Creature { impl Creature {
fn repugnance(&self) -> u8 { fn repugnance(&self) -> u32 {
10 - self.adorableness 10 - self.adorableness
} }
} }