Skip to content

Commit 254d33c

Browse files
tronicaljackpot51
authored andcommitted
Fix rustdoc warning about unresolved links
The referenced functions and the described ownership concept don't exist anymore.
1 parent 25afc6e commit 254d33c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/lib.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ pub use error::SwBufError;
2525
use raw_window_handle::{HasRawDisplayHandle, HasRawWindowHandle, RawDisplayHandle, RawWindowHandle};
2626

2727
/// An instance of this struct contains the platform-specific data that must be managed in order to
28-
/// write to a window on that platform. This struct owns the window that this data corresponds to
29-
/// to ensure safety, as that data must be destroyed before the window itself is destroyed. You may
30-
/// access the underlying window via [`window`](Self::window) and [`window_mut`](Self::window_mut).
28+
/// write to a window on that platform.
3129
pub struct GraphicsContext {
3230
graphics_context_impl: Box<dyn GraphicsContextImpl>,
3331
}

0 commit comments

Comments
 (0)