From e13b508c2269339d4232126cd6d9c9b1ef5d269d Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Thu, 2 Apr 2020 12:42:00 -0400 Subject: [PATCH] Fix formatting --- youmubot-osu/src/discord/embeds.rs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/youmubot-osu/src/discord/embeds.rs b/youmubot-osu/src/discord/embeds.rs index 088cf90..94f1a36 100644 --- a/youmubot-osu/src/discord/embeds.rs +++ b/youmubot-osu/src/discord/embeds.rs @@ -73,7 +73,10 @@ pub fn beatmap_embed<'a>(b: &'_ Beatmap, m: Mode, c: &'a mut CreateEmbed) -> &'a .description( MessageBuilder::new() .push({ - let link = format!("https://osu.ppy.sh/beatmapsets/{}/download", b.beatmapset_id); + let link = format!( + "https://osu.ppy.sh/beatmapsets/{}/download", + b.beatmapset_id + ); format!( "Download: [[Link]]({}) [[No Video]]({}?noVideo=1)", link, link @@ -123,7 +126,10 @@ pub fn beatmapset_embed<'a>( .description( MessageBuilder::new() .push_line({ - let link = format!("https://osu.ppy.sh/beatmapsets/{}/download", b.beatmapset_id); + let link = format!( + "https://osu.ppy.sh/beatmapsets/{}/download", + b.beatmapset_id + ); format!( "Download: [[Link]]({}) [[No Video]]({}?noVideo=1)", link, link