mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-28 00:00:11 +02:00
committed by
Carl Lerche
parent
516251052d
commit
0651f09427
@@ -84,12 +84,8 @@ impl Unpark for DefaultUnpark {
|
||||
|
||||
impl fmt::Display for ParkError {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
self.description().fmt(fmt)
|
||||
write!(fmt, "unknown park error")
|
||||
}
|
||||
}
|
||||
|
||||
impl Error for ParkError {
|
||||
fn description(&self) -> &str {
|
||||
"unknown park error"
|
||||
}
|
||||
}
|
||||
impl Error for ParkError {}
|
||||
|
||||
Reference in New Issue
Block a user