Skip to content

Commit

Permalink
Use dbg!() macro in monitor list example (rust-windowing#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixrabe authored and goddessfreya committed Jun 17, 2019
1 parent f879bca commit c661006
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/monitor_list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

0 comments on commit c661006

Please sign in to comment.