Fix recent CI failures (#3041)

* Fix new clippy lints

* Fix nightly documentation warnings
This commit is contained in:
Mads Marquart 2023-08-24 18:29:31 +02:00 committed by GitHub
parent 309e6aa85a
commit 9979441c82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 10 deletions

View file

@ -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),
@ -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.