i have no idea why this decided to throw a compile error now? wtf?
my wild-ass guess is this is somehow related to the serde dependency being included now, but who the fuck knows. what a joke.
This commit is contained in:
parent
f5291a4d60
commit
ad8d1f9ae3
|
@ -624,7 +624,7 @@ mod tests {
|
||||||
assert_eq!(color.to_array(), [0x19, 0x33, 0x4c, 0x7f]);
|
assert_eq!(color.to_array(), [0x19, 0x33, 0x4c, 0x7f]);
|
||||||
|
|
||||||
let color = RGBA::from_rgba([0x11, 0x22, 0x33, 0x44]);
|
let color = RGBA::from_rgba([0x11, 0x22, 0x33, 0x44]);
|
||||||
assert_eq!(0x11223344u32, color.into())
|
assert_eq!(0x11223344u32, u32::from(color))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
|
|
Loading…
Reference in a new issue