Skip to content

Commit

Permalink
Minor simplification in lib.rs doc string
Browse files Browse the repository at this point in the history
  • Loading branch information
barafael authored Dec 13, 2024
1 parent bfa8cad commit 82e2866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@
//! loop {
//! let n = match socket.read(&mut buf).await {
//! // socket closed
//! Ok(n) if n == 0 => return,
//! Ok(0) => return,
//! Ok(n) => n,
//! Err(e) => {
//! eprintln!("failed to read from socket; err = {:?}", e);
Expand Down

0 comments on commit 82e2866

Please sign in to comment.