chore: resolve nit from linter

This commit is contained in:
Bowei Zhang authored and Wez Furlong committed 2025-02-07 19:07:08 -07:00
1 parent 57fae2f9fd
commit 7145a8ffaf
1 file changed
+1 -1
+1 -1
View File
@@ -678,7 +678,7 @@ impl HasDisplayHandle for Window {
impl HasWindowHandle for Window {
fn window_handle(&self) -> Result<WindowHandle, HandleError> {
let mut handle =
let handle =
AppKitWindowHandle::new(NonNull::new(self.ns_view as *mut _).expect("non-null"));
unsafe { Ok(WindowHandle::borrow_raw(RawWindowHandle::AppKit(handle))) }
}