mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
rename enum item
This commit is contained in:
parent
f9e35553da
commit
59e9739142
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub enum Error {
|
pub enum Error {
|
||||||
Database,
|
Database,
|
||||||
Gemini(super::gemini::Error),
|
GeminiInit(super::gemini::Error),
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue