Skip to content

Commit c3a3312

Browse files
committed
undo patch for rust-lang/rust#94182
seems to not trigger in the latest rust.
1 parent aea9b95 commit c3a3312

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

services/shellchat/src/cmds/net_cmd.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ use std::sync::{Arc, Mutex};
1313
use std::time::{Duration, Instant};
1414
use std::thread;
1515
use std::sync::mpsc;
16-
use dns::Dns; // necessary to work around https://github.com/rust-lang/rust/issues/94182
1716
#[cfg(feature="ditherpunk")]
1817
use std::str::FromStr;
1918
#[cfg(feature="ditherpunk")]
@@ -27,7 +26,7 @@ use perflib::*;
2726
pub struct NetCmd {
2827
callback_id: Option<u32>,
2928
callback_conn: u32,
30-
dns: Dns,
29+
dns: dns::Dns,
3130
#[cfg(any(feature="precursor", feature="renode"))]
3231
ping: Option<net::Ping>,
3332
#[cfg(feature="tls")]

0 commit comments

Comments
 (0)