mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
apply clippy optimizations
This commit is contained in:
parent
dd1411487e
commit
227c9bb246
6 changed files with 9 additions and 9 deletions
|
|
@ -8,7 +8,7 @@ impl Error {
|
|||
pub fn to_string(&self) -> String {
|
||||
match self {
|
||||
Self::Database(reason) => {
|
||||
format!("Database error: {}", reason.to_string())
|
||||
format!("Database error: {}", reason)
|
||||
}
|
||||
Self::Gemini(reason) => {
|
||||
format!("Could not init Gemini identity: {}", reason.to_string())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue