Add comment to WindowState static assertions code
This commit is contained in:
parent
1c81921688
commit
60244c3888
|
@ -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_impl_all!(WindowHandle<TestWindowHandler>: Send);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue