From 805e6409a11e1d8bdcc34c9069d9f8f33722bfea Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Thu, 4 Oct 2018 11:39:45 +0200 Subject: [PATCH] Removed useless use --- src/game/main.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/game/main.rs b/src/game/main.rs index e3720ac..057a2f6 100644 --- a/src/game/main.rs +++ b/src/game/main.rs @@ -1,10 +1,7 @@ extern crate sfml; extern crate rusty; -use std::time::{ - Instant, - Duration, -}; +use std::time::Instant; use sfml::window::{ Event, @@ -48,7 +45,6 @@ fn main() { _ => (), } - scene.manage_event(&event); } @@ -65,7 +61,6 @@ fn main() { // Display and manage the frame rate renderer.display(); - if ! running { break; }