chore(rustfmt): use nightly (#2325)
Stable rustfmt lacks a lot of features resulting in worse formatted code, thus use nightly formatter.
This commit is contained in:
parent
7006c7ceca
commit
7b0c7b6cb2
154 changed files with 3439 additions and 5891 deletions
|
|
@ -1,12 +1,10 @@
|
|||
#![cfg(feature = "serde")]
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use winit::{
|
||||
dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize},
|
||||
event::{ElementState, MouseButton, MouseScrollDelta, TouchPhase},
|
||||
keyboard::{Key, KeyCode, KeyLocation, ModifiersState, NamedKey, PhysicalKey},
|
||||
window::CursorIcon,
|
||||
};
|
||||
use winit::dpi::{LogicalPosition, LogicalSize, PhysicalPosition, PhysicalSize};
|
||||
use winit::event::{ElementState, MouseButton, MouseScrollDelta, TouchPhase};
|
||||
use winit::keyboard::{Key, KeyCode, KeyLocation, ModifiersState, NamedKey, PhysicalKey};
|
||||
use winit::window::CursorIcon;
|
||||
|
||||
#[allow(dead_code)]
|
||||
fn needs_serde<S: Serialize + Deserialize<'static>>() {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue