Skip to content

Commit

Permalink
Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 9, 2024
1 parent caf68fd commit cbc2147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ impl Layer {
}

// Force the view to become layer backed
// SAFETY: The signature of `NSView::setWantsLayer` is correctly specified, and
// SAFETY: The signature of `NSView::setWantsLayer` is correctly specified.
let _: () = unsafe { msg_send![ns_view, setWantsLayer: true] };

// SAFETY: `-[NSView layer]` returns an optional `CALayer`
Expand Down

0 comments on commit cbc2147

Please sign in to comment.