aboutsummaryrefslogtreecommitdiff
path: root/src/net/error.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/error.rs')
-rw-r--r--src/net/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/error.rs b/src/net/error.rs
index c0aeeacc..cddb1eaa 100644
--- a/src/net/error.rs
+++ b/src/net/error.rs
@@ -59,7 +59,7 @@ impl<T> From<tokio::sync::mpsc::error::SendError<T>> for Error {
}
}
-/// Ths trait adds a `.log_err()` method on `Result<(), E>` types,
+/// The trait adds a `.log_err()` method on `Result<(), E>` types,
/// which dismisses the error by logging it to stderr.
pub trait LogError {
fn log_err(self, msg: &'static str);