Skip to content

Commit

Permalink
docs: use eprintln
Browse files Browse the repository at this point in the history
Fixes issue tiny-http#235
  • Loading branch information
kolbma committed Jan 17, 2024
1 parent 29e3080 commit 027e514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
//! // blocks until the next request is received
//! let request = match server.recv() {
//! Ok(rq) => rq,
//! Err(e) => { println!("error: {}", e); break }
//! Err(err) => { eprintln!("error: {err}"); break }
//! };
//!
//! // do something with the request
Expand Down

0 comments on commit 027e514

Please sign in to comment.