fixed doc test

This commit is contained in:
Y. T. Chung
2015-01-15 02:25:23 +08:00
parent 3bd798294a
commit 79b2236eda
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
View File
@@ -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,