mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-27 00:00:12 +02:00
committed by
Carl Lerche
parent
516251052d
commit
0651f09427
@@ -143,11 +143,7 @@ impl fmt::Display for CollectVecError {
|
||||
}
|
||||
}
|
||||
|
||||
impl Error for CollectVecError {
|
||||
fn description(&self) -> &str {
|
||||
"BufStream too big"
|
||||
}
|
||||
}
|
||||
impl Error for CollectVecError {}
|
||||
|
||||
impl fmt::Display for CollectBytesError {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
@@ -155,8 +151,4 @@ impl fmt::Display for CollectBytesError {
|
||||
}
|
||||
}
|
||||
|
||||
impl Error for CollectBytesError {
|
||||
fn description(&self) -> &str {
|
||||
"BufStream too big"
|
||||
}
|
||||
}
|
||||
impl Error for CollectBytesError {}
|
||||
|
||||
@@ -47,8 +47,4 @@ impl fmt::Display for Never {
|
||||
}
|
||||
}
|
||||
|
||||
impl Error for Never {
|
||||
fn description(&self) -> &str {
|
||||
unreachable!();
|
||||
}
|
||||
}
|
||||
impl Error for Never {}
|
||||
|
||||
Reference in New Issue
Block a user