mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-09-07 00:00:08 +02:00
process: remove obsolete allow(deprecated) from is_rt_shutdown_err (#7685)
This commit is contained in:
@@ -124,7 +124,6 @@ fn display_eq(d: impl std::fmt::Display, s: &str) -> bool {
|
|||||||
fmt_eq.remainder.is_empty() && !fmt_eq.unequal
|
fmt_eq.remainder.is_empty() && !fmt_eq.unequal
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(deprecated)]
|
|
||||||
fn is_rt_shutdown_err(err: &io::Error) -> bool {
|
fn is_rt_shutdown_err(err: &io::Error) -> bool {
|
||||||
if let Some(inner) = err.get_ref() {
|
if let Some(inner) = err.get_ref() {
|
||||||
err.kind() == io::ErrorKind::Other
|
err.kind() == io::ErrorKind::Other
|
||||||
|
|||||||
Reference in New Issue
Block a user