Skip to content

Commit 17a8bc7

Browse files
committed
Clean up debug output
1 parent ec1b7ea commit 17a8bc7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/data_acquisition.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
extern crate std;
32
use std::io::{stdin, BufRead, BufReader};
43
use state;
@@ -14,7 +13,7 @@ fn parse_line(line: &str, t: & state::RingDataType) -> Option<state::RingData> {
1413
match line.parse::<i32>() {
1514
Ok(i) => Some(state::RingData::Int(i)),
1615
Err(msg) => {
17-
println!("Expected an int, but got: {:?}", msg);
16+
//println!("Expected an int, but got: {:?}", msg);
1817
None
1918
}
2019

src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ pub fn setup(window: & PistonWindow, opengl: piston_window::OpenGL, p: & Params)
171171
Ok(folder) => folder.join("font/Hack-Regular.ttf"),
172172
Err(_) => Path::new("/usr/share/fonts/truetype/freefont/FreeSans.ttf").to_path_buf()
173173
};
174-
println!("{:?}", font.clone());
175174

176175
let glyphs = match GlyphCache::new(font, (), TextureSettings::new() ) {
177176
Ok(g) => g,

0 commit comments

Comments
 (0)