apply clippy optimizations

This commit is contained in:
yggverse 2024-11-23 18:11:44 +02:00
parent dd1411487e
commit 227c9bb246
6 changed files with 9 additions and 9 deletions

View file

@ -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())