From e8ee37142399e11cc56db5c8adb9a6244f50167f Mon Sep 17 00:00:00 2001 From: Nathan Vegdahl Date: Sun, 10 Jul 2016 16:46:14 -0700 Subject: [PATCH] Silence some warnings. --- src/renderer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer.rs b/src/renderer.rs index 501231e..5bbfcfe 100644 --- a/src/renderer.rs +++ b/src/renderer.rs @@ -158,7 +158,7 @@ impl Renderer { if new_string != old_string { print!("\r{}", new_string); - io::stdout().flush(); + let _ = io::stdout().flush(); } } } @@ -167,7 +167,7 @@ impl Renderer { // Print initial 0.00% progress print!("0.00%"); - io::stdout().flush(); + let _ = io::stdout().flush(); // Determine bucket size based on a target number of samples // per bucket.