Skip to content

Commit

Permalink
Remove trailing comma at the end of new macro
Browse files Browse the repository at this point in the history
  • Loading branch information
AS1100K committed Feb 6, 2025
1 parent 4cef0af commit ae31cde
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,15 @@ impl DiscordPluginGroup {
common::new!(
"Creates a new `DiscordPluginGroup`. _Available only on `http` + `rich_presence` features._\n\nFor more information, please refer to https://docs.rs/bevy-discord",
token: String,
rich_presence_config: crate::config::DiscordRichPresenceConfig,
rich_presence_config: crate::config::DiscordRichPresenceConfig
);

// feature `bot` and `rich_presence`
#[cfg(all(feature = "bot", feature = "rich_presence", not(feature = "docsrs")))]
common::new!(
"Creates a new `DiscordPluginGroup`. _Available only on `bot` + `rich_presence` features._\n\nFor more information, please refer to https://docs.rs/bevy-discord",
bot_config: crate::config::DiscordBotConfig,
rich_presence_config: crate::config::DiscordRichPresenceConfig,
rich_presence_config: crate::config::DiscordRichPresenceConfig
);
}

Expand Down

0 comments on commit ae31cde

Please sign in to comment.