Skip to content

Commit 4e3e43d

Browse files
committed
Fix UIKit warning
1 parent e0891b6 commit 4e3e43d

File tree

1 file changed

+1
-1
lines changed
  • framework-crates/objc2-ui-kit/src/tests

1 file changed

+1
-1
lines changed

framework-crates/objc2-ui-kit/src/tests/device.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ use objc2_foundation::MainThreadMarker;
66
fn current_device() {
77
// SAFETY: This is just while testing
88
let mtm = unsafe { MainThreadMarker::new_unchecked() };
9-
let _device = unsafe { UIDevice::currentDevice(mtm) };
9+
let _device = UIDevice::currentDevice(mtm);
1010
}

0 commit comments

Comments
 (0)