From 753c84b7d2f720cd41493bbb5efad035a34ad629 Mon Sep 17 00:00:00 2001 From: Marti Raudsepp Date: Thu, 12 Sep 2024 21:24:24 +0300 Subject: [PATCH] doc: update RepositoryErrorKind rustdoc following rustic_core change --- src/commands.rs | 4 ++-- src/commands/init.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands.rs b/src/commands.rs index 66bbd87a0..cd5e9d431 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -321,13 +321,13 @@ fn get_repository(repo_opts: &AllRepositoryOptions) -> Result( diff --git a/src/commands/init.rs b/src/commands/init.rs index 0f7ddb4aa..d3b2ab053 100644 --- a/src/commands/init.rs +++ b/src/commands/init.rs @@ -66,7 +66,7 @@ impl InitCmd { /// * [`RepositoryErrorKind::OpeningPasswordFileFailed`] - If opening the password file failed /// * [`RepositoryErrorKind::ReadingPasswordFromReaderFailed`] - If reading the password failed /// * [`RepositoryErrorKind::FromSplitError`] - If splitting the password command failed -/// * [`RepositoryErrorKind::PasswordCommandParsingFailed`] - If parsing the password command failed +/// * [`RepositoryErrorKind::PasswordCommandExecutionFailed`] - If executing the password command failed /// * [`RepositoryErrorKind::ReadingPasswordFromCommandFailed`] - If reading the password from the command failed /// /// # Returns @@ -76,7 +76,7 @@ impl InitCmd { /// [`RepositoryErrorKind::OpeningPasswordFileFailed`]: rustic_core::error::RepositoryErrorKind::OpeningPasswordFileFailed /// [`RepositoryErrorKind::ReadingPasswordFromReaderFailed`]: rustic_core::error::RepositoryErrorKind::ReadingPasswordFromReaderFailed /// [`RepositoryErrorKind::FromSplitError`]: rustic_core::error::RepositoryErrorKind::FromSplitError -/// [`RepositoryErrorKind::PasswordCommandParsingFailed`]: rustic_core::error::RepositoryErrorKind::PasswordCommandParsingFailed +/// [`RepositoryErrorKind::PasswordCommandExecutionFailed`]: rustic_core::error::RepositoryErrorKind::PasswordCommandExecutionFailed /// [`RepositoryErrorKind::ReadingPasswordFromCommandFailed`]: rustic_core::error::RepositoryErrorKind::ReadingPasswordFromCommandFailed pub(crate) fn init( repo: Repository,