diff --git a/src/relay/local.rs b/src/relay/local.rs index 59755b04..599a6366 100644 --- a/src/relay/local.rs +++ b/src/relay/local.rs @@ -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, diff --git a/src/relay/server.rs b/src/relay/server.rs index cd0d13d4..af91981a 100644 --- a/src/relay/server.rs +++ b/src/relay/server.rs @@ -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,