Skip to content

Commit

Permalink
Fix nightly documentation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Aug 24, 2023
1 parent 02cb6f1 commit a815b99
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/event.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub enum Event<T: 'static> {
///
/// This event type is useful as a place to put code that should be done before you start
/// processing events, such as updating frame timing information for benchmarking or checking
/// the [`StartCause`][crate::event::StartCause] to see if a timer set by
/// the [`StartCause`] to see if a timer set by
/// [`ControlFlow::WaitUntil`](crate::event_loop::ControlFlow::WaitUntil) has elapsed.
NewEvents(StartCause),

Expand Down Expand Up @@ -218,8 +218,7 @@ pub enum Event<T: 'static> {
/// ups and also lots of corresponding `AboutToWait` events.
///
/// This is not an ideal event to drive application rendering from and instead applications
/// should render in response to [`Event::RedrawRequested`](crate::event::Event::RedrawRequested)
/// events.
/// should render in response to [`Event::RedrawRequested`] events.
AboutToWait,

/// Emitted when a window should be redrawn.
Expand Down

0 comments on commit a815b99

Please sign in to comment.