mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 04:40:04 -04:00
Fix formatting
This commit is contained in:
@@ -70,7 +70,6 @@
|
|||||||
//! 4. Pass a clone of the `AndroidApp` that your application receives to Winit when building your
|
//! 4. Pass a clone of the `AndroidApp` that your application receives to Winit when building your
|
||||||
//! event loop (as shown above).
|
//! event loop (as shown above).
|
||||||
#![cfg(target_os = "android")]
|
#![cfg(target_os = "android")]
|
||||||
|
|
||||||
#![warn(clippy::exhaustive_enums)]
|
#![warn(clippy::exhaustive_enums)]
|
||||||
|
|
||||||
mod event_loop;
|
mod event_loop;
|
||||||
|
|||||||
@@ -64,7 +64,6 @@
|
|||||||
//! }
|
//! }
|
||||||
//! ```
|
//! ```
|
||||||
#![cfg(target_vendor = "apple")] // TODO: Remove once `objc2` allows compiling on all platforms
|
#![cfg(target_vendor = "apple")] // TODO: Remove once `objc2` allows compiling on all platforms
|
||||||
|
|
||||||
#![warn(clippy::exhaustive_enums)]
|
#![warn(clippy::exhaustive_enums)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|||||||
@@ -99,7 +99,6 @@
|
|||||||
//!
|
//!
|
||||||
//! [app-delegate]: https://developer.apple.com/documentation/uikit/uiapplicationdelegate?language=objc
|
//! [app-delegate]: https://developer.apple.com/documentation/uikit/uiapplicationdelegate?language=objc
|
||||||
#![cfg(target_vendor = "apple")] // TODO: Remove once `objc2` allows compiling on all platforms
|
#![cfg(target_vendor = "apple")] // TODO: Remove once `objc2` allows compiling on all platforms
|
||||||
|
|
||||||
#![warn(clippy::exhaustive_enums)]
|
#![warn(clippy::exhaustive_enums)]
|
||||||
|
|
||||||
mod app_state;
|
mod app_state;
|
||||||
|
|||||||
@@ -16,7 +16,6 @@
|
|||||||
//! * `wayland-csd-adwaita-notitlebar`.
|
//! * `wayland-csd-adwaita-notitlebar`.
|
||||||
|
|
||||||
#![allow(clippy::mutable_key_type)]
|
#![allow(clippy::mutable_key_type)]
|
||||||
|
|
||||||
#![warn(clippy::exhaustive_enums)]
|
#![warn(clippy::exhaustive_enums)]
|
||||||
|
|
||||||
use std::ffi::c_void;
|
use std::ffi::c_void;
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
//! The supported OS version is Windows 7 or higher, though Windows 10 is
|
//! The supported OS version is Windows 7 or higher, though Windows 10 is
|
||||||
//! tested regularly.
|
//! tested regularly.
|
||||||
#![cfg(target_os = "windows")] // FIXME(madsmtm): Allow compiling on all platforms.
|
#![cfg(target_os = "windows")] // FIXME(madsmtm): Allow compiling on all platforms.
|
||||||
|
|
||||||
#![warn(clippy::exhaustive_enums)]
|
#![warn(clippy::exhaustive_enums)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
|
|||||||
Reference in New Issue
Block a user