Skip to content

Commit b192609

Browse files
authored
Fix invalid usage of #[doc(cfg)] (#1250)
1 parent 02e7979 commit b192609

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/builder/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ mod create_interaction;
1414

1515
mod create_allowed_mentions;
1616
#[cfg(feature = "unstable_discord_api")]
17-
#[cfg_attr(docsrs, doc(feature = "unstable_discord_api"))]
17+
#[cfg_attr(docsrs, doc(cfg(feature = "unstable_discord_api")))]
1818
mod create_interaction_response;
1919
#[cfg(feature = "unstable_discord_api")]
20-
#[cfg_attr(docsrs, doc(feature = "unstable_discord_api"))]
20+
#[cfg_attr(docsrs, doc(cfg(feature = "unstable_discord_api")))]
2121
mod create_interaction_response_followup;
2222
mod create_invite;
2323
mod create_message;
2424
mod edit_channel;
2525
mod edit_guild;
2626
#[cfg(feature = "unstable_discord_api")]
27-
#[cfg_attr(docsrs, doc(feature = "unstable_discord_api"))]
27+
#[cfg_attr(docsrs, doc(cfg(feature = "unstable_discord_api")))]
2828
mod edit_interaction_response;
2929
mod edit_member;
3030
mod edit_message;

0 commit comments

Comments
 (0)