Skip to content

Commit

Permalink
Say "AppKit and UIKit" instead of "Apple platforms"
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 4, 2024
1 parent d645233 commit 0ce3e17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl<D: HasDisplayHandle, W: HasWindowHandle> Surface<D, W> {
/// ## Platform Dependent Behavior
///
/// - On X11, the window must be visible.
/// - On Apple platforms, Redox and Wayland, this function is unimplemented.
/// - On AppKit, UIKit, Redox and Wayland, this function is unimplemented.
/// - On Web, this will fail if the content was supplied by
/// a different origin depending on the sites CORS rules.
pub fn fetch(&mut self) -> Result<Vec<u32>, SoftBufferError> {
Expand Down Expand Up @@ -194,7 +194,8 @@ impl<D: HasDisplayHandle, W: HasWindowHandle> HasWindowHandle for Surface<D, W>
///
/// Currently [`Buffer::present`] must block copying image data on:
/// - Web
/// - Apple platforms
/// - AppKit
/// - UIKit
pub struct Buffer<'a, D, W> {
buffer_impl: BufferDispatch<'a, D, W>,
_marker: PhantomData<(Arc<D>, Cell<()>)>,
Expand Down

0 comments on commit 0ce3e17

Please sign in to comment.