1
0
Fork 0

Add comment to WindowState static assertions code

This commit is contained in:
Joakim Frostegård 2020-11-29 17:02:18 +01:00
parent 1c81921688
commit 60244c3888

View file

@ -82,6 +82,7 @@ mod assertions {
} }
} }
// Assert that WindowHandle is Send even if WindowHandler isn't
static_assertions::assert_not_impl_any!(TestWindowHandler: Send); static_assertions::assert_not_impl_any!(TestWindowHandler: Send);
static_assertions::assert_impl_all!(WindowHandle<TestWindowHandler>: Send); static_assertions::assert_impl_all!(WindowHandle<TestWindowHandler>: Send);
} }