Skip to content

Commit 0463f18

Browse files
committed
refactor: remove unneeded unsafe impls
1 parent b55f576 commit 0463f18

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/platform_impl/macos/window.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,8 +402,6 @@ pub(super) fn set_ns_theme(theme: Option<Theme>) {
402402
}
403403

404404
struct WindowClass(&'static Class);
405-
unsafe impl Send for WindowClass {}
406-
unsafe impl Sync for WindowClass {}
407405

408406
static WINDOW_CLASS: Lazy<WindowClass> = Lazy::new(|| unsafe {
409407
let window_superclass = class!(NSWindow);

0 commit comments

Comments
 (0)