Skip to content

Commit

Permalink
Small docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Sep 9, 2024
1 parent ddd116f commit caf68fd
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 @@ -3,6 +3,8 @@
//! Helpers for constructing a [`CAMetalLayer`] from a handle given by [`raw-window-handle`]. See
//! the [`Layer`] type for the full API.
//!
//! [`raw-window-handle`]: https://crates.io/crates/raw-window-handle
//!
//!
//! ## Example
//!
Expand Down Expand Up @@ -40,7 +42,6 @@
//! // Use `CAMetalLayer` here.
//! ```
//!
//! [`raw-window-handle`]: https://crates.io/crates/raw-window-handle
//! [`HasWindowHandle`]: https://docs.rs/raw-window-handle/0.6.2/raw_window_handle/trait.HasWindowHandle.html
//!
//!
Expand Down Expand Up @@ -84,7 +85,7 @@
//! a. Consumers of `raw-window-metal` like Wgpu and Ash in their API design choosing not to
//! register a callback with `-[CALayerDelegate displayLayer:]`, but instead leaves it up to
//! the user to figure out when to redraw. That is, they rely on other libraries' callbacks
//! telling us when to render.
//! telling them when to render.
//!
//! (If you were to make an API only for Metal, you would probably make the user provide a
//! `render` closure that'd be called in the right situations).
Expand Down

0 comments on commit caf68fd

Please sign in to comment.