From 4ee3548f5e830d08d424932d486f53424b558c3a Mon Sep 17 00:00:00 2001 From: zegevlier Date: Tue, 9 Jan 2024 01:33:19 +0100 Subject: [PATCH] docs: fix incorrect word used (#3944) --- core/src/services/http/backend.rs | 4 ++-- core/src/services/webdav/backend.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/src/services/http/backend.rs b/core/src/services/http/backend.rs index 0a907e0ae80c..daf704735432 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 67e6a9b4ac56..19cb90623c75 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());