Use dbg!() macro in monitor list example (#931)

This commit is contained in:
Felix Rabe 2019-06-18 00:13:35 +02:00 committed by Hal Gentz
parent f879bca21c
commit c661006683

View file

@ -5,5 +5,7 @@ use winit::window::WindowBuilder;
fn main() {
let event_loop = EventLoop::new();
let window = WindowBuilder::new().build(&event_loop).unwrap();
println!("{:#?}\nPrimary: {:#?}", window.available_monitors(), window.primary_monitor());
dbg!(window.available_monitors());
dbg!(window.primary_monitor());
}