Switch from u8 to u32, as per style guidelines
This commit is contained in:
parent
ef1e305468
commit
8ff7ed8334
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue