From 59e973914252fa69130fb5421d28c769c4b7691d Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 20 Nov 2024 09:29:35 +0200 Subject: [PATCH] rename enum item --- src/profile/identity.rs | 2 +- src/profile/identity/error.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/profile/identity.rs b/src/profile/identity.rs index 0b05832c..9b1c8d08 100644 --- a/src/profile/identity.rs +++ b/src/profile/identity.rs @@ -35,7 +35,7 @@ impl Identity { // Init gemini component let gemini = Rc::new(match Gemini::new(connection, profile_identity_id) { Ok(result) => result, - Err(reason) => return Err(Error::Gemini(reason)), + Err(reason) => return Err(Error::GeminiInit(reason)), }); // Done diff --git a/src/profile/identity/error.rs b/src/profile/identity/error.rs index df63c32a..4031e93f 100644 --- a/src/profile/identity/error.rs +++ b/src/profile/identity/error.rs @@ -1,5 +1,5 @@ #[derive(Debug)] pub enum Error { Database, - Gemini(super::gemini::Error), + GeminiInit(super::gemini::Error), }