rename enum item

This commit is contained in:
yggverse 2024-11-20 09:29:35 +02:00
parent f9e35553da
commit 59e9739142
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ impl Identity {
// Init gemini component // Init gemini component
let gemini = Rc::new(match Gemini::new(connection, profile_identity_id) { let gemini = Rc::new(match Gemini::new(connection, profile_identity_id) {
Ok(result) => result, Ok(result) => result,
Err(reason) => return Err(Error::Gemini(reason)), Err(reason) => return Err(Error::GeminiInit(reason)),
}); });
// Done // Done

View File

@ -1,5 +1,5 @@
#[derive(Debug)] #[derive(Debug)]
pub enum Error { pub enum Error {
Database, Database,
Gemini(super::gemini::Error), GeminiInit(super::gemini::Error),
} }