mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-11-23 16:05:51 +00:00
fixed doc test
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ use config::Config;
|
||||
/// port: 1080
|
||||
/// });
|
||||
/// config.server = vec![ServerConfig {
|
||||
/// addr: "127.0.0.1",
|
||||
/// addr: "127.0.0.1".to_string(),
|
||||
/// port: 8388,
|
||||
/// password: "server-password".to_string(),
|
||||
/// method: CipherType::Aes256Cfb,
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ use config::Config;
|
||||
///
|
||||
/// let mut config = Config::new();
|
||||
/// config.server = vec![ServerConfig {
|
||||
/// addr: "127.0.0.1",
|
||||
/// addr: "127.0.0.1".to_string(),
|
||||
/// port: 8388,
|
||||
/// password: "server-password".to_string(),
|
||||
/// method: CipherType::Aes256Cfb,
|
||||
|
||||
Reference in New Issue
Block a user