From 6e893a6cd8ac722fd7bf6f5c393e86e0a1790509 Mon Sep 17 00:00:00 2001 From: Marijn Suijten Date: Thu, 25 Apr 2024 23:39:07 +0200 Subject: [PATCH] server: Fix `display_ptr()` docs to point to `backend.handle().display_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. --- wayland-server/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wayland-server/src/lib.rs b/wayland-server/src/lib.rs index 7526f430a46..60f2dc3b738 100644 --- a/wayland-server/src/lib.rs +++ b/wayland-server/src/lib.rs @@ -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.