Skip to content

Commit

Permalink
Fix doc error
Browse files Browse the repository at this point in the history
  • Loading branch information
tronical committed Jun 20, 2024
1 parent 3faeaca commit 61e2509
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/core/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub trait RendererSealed {
Ok(())
}

/// Re-implement this function to support [`Window::grab_window()`], i.e. return
/// Re-implement this function to support Window::grab_window(), i.e. return
/// the contents of the window in an image buffer.
fn screenshot(&self) -> Result<SharedImageBuffer, PlatformError> {
Err("WindowAdapter::grab_window is not implemented by the platform".into())
Expand Down

0 comments on commit 61e2509

Please sign in to comment.