diff --git a/src/botowners.rs b/src/botowners.rs index 57116580..bbefb9cb 100644 --- a/src/botowners.rs +++ b/src/botowners.rs @@ -118,4 +118,4 @@ pub async fn getbotroles(ctx: Context<'_>) -> Result<(), Error> { } Ok(()) -} \ No newline at end of file +} diff --git a/src/impls/utils.rs b/src/impls/utils.rs index eb7ecef9..4643aaa7 100644 --- a/src/impls/utils.rs +++ b/src/impls/utils.rs @@ -198,12 +198,7 @@ pub async fn get_owned_by(user_id: &str, pool: &PgPool) -> Result, ) .fetch_all(pool) .await - .map_err(|e| { - format!( - "Error while executing query for user {}: {}", - user_id, e - ) - })?; + .map_err(|e| format!("Error while executing query for user {}: {}", user_id, e))?; let mut owned_by = Vec::new(); diff --git a/src/leaderboard.rs b/src/leaderboard.rs index 9c4b10d2..74d1da84 100644 --- a/src/leaderboard.rs +++ b/src/leaderboard.rs @@ -28,7 +28,8 @@ pub async fn leaderboard( .fetch_all(&data.pool) .await?; - let mut desc = String::from("Oh, hello there! Let's see who's been fighting bots the most :eyes:\n\n"); + let mut desc = + String::from("Oh, hello there! Let's see who's been fighting bots the most :eyes:\n\n"); let mut embed = CreateEmbed::default() .title("Staff Leaderboard") .color(Color::from_rgb(0, 255, 0))