Skip to content

Commit

Permalink
server: Fix display_ptr() docs to point to `backend.handle().displa…
Browse files Browse the repository at this point in the history
…y_ptr()`

This moved for the server but not the client `Backend`, and because of
not being a link nor validated in the CI this broken reference wasn't
noticed.
  • Loading branch information
MarijnS95 committed May 7, 2024
1 parent 57dc6ae commit 6e893a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wayland-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
//!
//! - The `*mut wl_display` pointer, that you can retrieve by first retrieving the
//! [`Backend`](crate::backend::Backend) using [`Display::backend()`], and then invoke
//! `Backend::display_ptr().
//! [`.handle()`][backend::Backend::handle()][`.display_ptr()`][backend::Handle::display_ptr()].
//! - The `*mut wl_resource` pointers for the objects you need to share, by first getting the
//! [`ObjectId`](crate::backend::ObjectId) using the [`Resource::id()`] method, and then
//! the `ObjectId::as_ptr()` method.
Expand Down

0 comments on commit 6e893a6

Please sign in to comment.