This commit is contained in:
iris committed 2025-08-20 12:18:44 -04:00
1 parent 368826fe05
commit 1482e5d67c
3 files changed
+3 -3

No files matched your search

+1
View File
@@ -67,6 +67,7 @@ impl<W> WidgetId<W> {
}
pub(super) fn cast_type<W2>(self) -> WidgetId<W2> {
// safety: self is repr(C) and generic only used for phantom data
unsafe { std::mem::transmute(self) }
}