diff --git a/src/models/database.rs b/src/models/database.rs index 8b6a494..9ef1877 100644 --- a/src/models/database.rs +++ b/src/models/database.rs @@ -197,7 +197,7 @@ impl Database { name: row.get(0)?, discriminator: row.get(1)?, avatar: row.get(2)?, - }))).map_err(|error| DatabaseError::Rusqlite(error))), + }))).map_err(DatabaseError::Rusqlite)), Err(error) => Some(Err(DatabaseError::Rusqlite(error))), } })