mirror of
https://github.com/emilk/egui.git
synced 2026-08-30 05:10:03 -04:00
Use Rust edition 2024 (#7280)
This commit is contained in:
@@ -29,7 +29,8 @@ pub struct Shadow {
|
||||
#[test]
|
||||
fn shadow_size() {
|
||||
assert_eq!(
|
||||
std::mem::size_of::<Shadow>(), 8,
|
||||
std::mem::size_of::<Shadow>(),
|
||||
8,
|
||||
"Shadow changed size! If it shrank - good! Update this test. If it grew - bad! Try to find a way to avoid it."
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user