mirror of
https://github.com/fossasia/badgemagic-rs
synced 2025-07-15 17:13:59 +00:00
fix(src/protocol.rs): remove unnecessary cast
This commit is contained in:
parent
1535b571c7
commit
4894bdef2d
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ mod test {
|
|||
];
|
||||
|
||||
for i in VALID_BRIGHTNESS_VALUES {
|
||||
assert_eq!(u8::from(Brightness::from(i.0)), i.1);
|
||||
assert_eq!(u8::from(i.0), i.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue