mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
fixed tests
This commit is contained in:
@@ -51,7 +51,7 @@ use config::Config;
|
||||
/// timeout: None,
|
||||
/// dns_cache_capacity: 1024,
|
||||
/// }];
|
||||
/// RelayLocal::new(config).run(1);
|
||||
/// RelayLocal::new(config).run();
|
||||
/// ```
|
||||
#[derive(Clone)]
|
||||
pub struct RelayLocal {
|
||||
|
||||
@@ -50,7 +50,7 @@ use config::Config;
|
||||
/// timeout: None,
|
||||
/// dns_cache_capacity: 1024,
|
||||
/// }];
|
||||
/// RelayServer::new(config).run(1);
|
||||
/// RelayServer::new(config).run();
|
||||
/// ```
|
||||
///
|
||||
#[derive(Clone)]
|
||||
|
||||
Reference in New Issue
Block a user