Skip to content

Commit 4894bde

Browse files
committed
fix(src/protocol.rs): remove unnecessary cast
1 parent 1535b57 commit 4894bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/protocol.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ mod test {
534534
];
535535

536536
for i in VALID_BRIGHTNESS_VALUES {
537-
assert_eq!(u8::from(Brightness::from(i.0)), i.1);
537+
assert_eq!(u8::from(i.0), i.1);
538538
}
539539
}
540540
}

0 commit comments

Comments
 (0)