diff options
Diffstat (limited to 'winit/src/debug')
| -rw-r--r-- | winit/src/debug/basic.rs | 5 | ||||
| -rw-r--r-- | winit/src/debug/null.rs | 2 | 
2 files changed, 2 insertions, 5 deletions
| diff --git a/winit/src/debug/basic.rs b/winit/src/debug/basic.rs index 67c6d8a2..d46edba6 100644 --- a/winit/src/debug/basic.rs +++ b/winit/src/debug/basic.rs @@ -1,5 +1,4 @@ -use std::collections::VecDeque; -use std::time; +use std::{collections::VecDeque, time};  #[derive(Debug)]  pub struct Debug { @@ -146,7 +145,7 @@ impl Debug {          let mut lines = Vec::new();          fn key_value<T: std::fmt::Debug>(key: &str, value: T) -> String { -            format!("{: <30} {:?}", key, value) +            format!("{} {:?}", key, value)          }          lines.push(format!( diff --git a/winit/src/debug/null.rs b/winit/src/debug/null.rs index 9c809dd4..2a9430cd 100644 --- a/winit/src/debug/null.rs +++ b/winit/src/debug/null.rs @@ -6,8 +6,6 @@ impl Debug {          Self      } -    pub fn toggle(&mut self) {} -      pub fn startup_started(&mut self) {}      pub fn startup_finished(&mut self) {} | 
