Run doc tests on Web as well (#3799)
This commit is contained in:
parent
88bbdb33da
commit
73c01fff96
5 changed files with 39 additions and 12 deletions
|
|
@ -616,7 +616,7 @@ pub struct KeyEvent {
|
|||
/// In games, you often want to ignore repated key events - this can be
|
||||
/// done by ignoring events where this property is set.
|
||||
///
|
||||
/// ```
|
||||
/// ```no_run
|
||||
/// use winit::event::{ElementState, KeyEvent, WindowEvent};
|
||||
/// use winit::keyboard::{KeyCode, PhysicalKey};
|
||||
/// # let window_event = WindowEvent::RedrawRequested; // To make the example compile
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue