Skip to content

Commit

Permalink
docs: fix incorrect word used (#3944)
Browse files Browse the repository at this point in the history
  • Loading branch information
zegevlier committed Jan 9, 2024
1 parent 1a6a44c commit 4ee3548
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions core/src/services/http/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down
4 changes: 2 additions & 2 deletions core/src/services/webdav/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 4ee3548

Please sign in to comment.