diff --git a/core/src/services/http/backend.rs b/core/src/services/http/backend.rs index 0a907e0ae80..daf70473543 100644 --- a/core/src/services/http/backend.rs +++ b/core/src/services/http/backend.rs @@ -90,9 +90,9 @@ impl HttpBuilder { self } - /// set password for http backend + /// set username for http backend /// - /// default: no password + /// default: no username pub fn username(&mut self, username: &str) -> &mut Self { if !username.is_empty() { self.config.username = Some(username.to_owned()); diff --git a/core/src/services/webdav/backend.rs b/core/src/services/webdav/backend.rs index 67e6a9b4ac5..19cb90623c7 100644 --- a/core/src/services/webdav/backend.rs +++ b/core/src/services/webdav/backend.rs @@ -99,9 +99,9 @@ impl WebdavBuilder { self } - /// set the password for Webdav + /// set the username for Webdav /// - /// default: no password + /// default: no username pub fn username(&mut self, username: &str) -> &mut Self { if !username.is_empty() { self.config.username = Some(username.to_owned());