winit-core: fix tests

This commit is contained in:
Kirill Chibisov 2025-05-03 21:35:32 +09:00
parent 634b9baea2
commit 9598eb371c
4 changed files with 22 additions and 22 deletions

View file

@ -51,10 +51,10 @@ impl From<CustomCursor> for Cursor {
/// # Example
///
/// ```no_run
/// # use winit::event_loop::ActiveEventLoop;
/// # use winit::window::Window;
/// # use winit_core::event_loop::ActiveEventLoop;
/// # use winit_core::window::Window;
/// # fn scope(event_loop: &dyn ActiveEventLoop, window: &dyn Window) {
/// use winit::window::CustomCursorSource;
/// use winit_core::cursor::CustomCursorSource;
///
/// let w = 10;
/// let h = 10;