From 254d33caf6ee7ce693645951b0439e2a499ac781 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Wed, 21 Dec 2022 14:37:30 +0100 Subject: [PATCH] Fix rustdoc warning about unresolved links The referenced functions and the described ownership concept don't exist anymore. --- src/lib.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index d727667..37e6f61 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -25,9 +25,7 @@ pub use error::SwBufError; use raw_window_handle::{HasRawDisplayHandle, HasRawWindowHandle, RawDisplayHandle, RawWindowHandle}; /// An instance of this struct contains the platform-specific data that must be managed in order to -/// write to a window on that platform. This struct owns the window that this data corresponds to -/// to ensure safety, as that data must be destroyed before the window itself is destroyed. You may -/// access the underlying window via [`window`](Self::window) and [`window_mut`](Self::window_mut). +/// write to a window on that platform. pub struct GraphicsContext { graphics_context_impl: Box, }