From bf517c14c5e47fc4eb79bf5b622b0b7c9482ecc1 Mon Sep 17 00:00:00 2001 From: naskya Date: Fri, 21 Jun 2024 10:23:18 +0900 Subject: [PATCH] rename error variant --- src/command/config/update.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/config/update.rs b/src/command/config/update.rs index 4b9ba54..a13ac02 100644 --- a/src/command/config/update.rs +++ b/src/command/config/update.rs @@ -15,7 +15,7 @@ use std::{fs, io}; #[derive(thiserror::Error, Debug)] pub(crate) enum UpdateError { #[error(transparent)] - UnknownRevision(#[from] RevisionCheckError), + RevisionCheck(#[from] RevisionCheckError), #[error(transparent)] FileOperation(#[from] io::Error), #[error(transparent)]