Skip to content

Commit

Permalink
Fix print statement in serde example
Browse files Browse the repository at this point in the history
  • Loading branch information
analog-hors committed Jul 5, 2020
1 parent bd50455 commit 4af2ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/serde_sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ fn main() {
let mut population = match File::open(POPULATION_PATH) {
Ok(file) => match serde_json::from_reader(BufReader::new(file)) {
Ok(population) => {
println!("Loaded population from {}", POPULATION_PATH);
eprintln!("Loaded population from {}", POPULATION_PATH);
population
}
Err(err) => {
Expand Down

0 comments on commit 4af2ee9

Please sign in to comment.