Skip to content

Commit

Permalink
Put ReactionType::data behind the model feature
Browse files Browse the repository at this point in the history
  • Loading branch information
arqunis authored and mkrasnitski committed Feb 28, 2023
1 parent 4db8ed8 commit 9e2d1de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/model/channel/reaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ impl ReactionType {
/// likely little use for it.
#[inline]
#[must_use]
#[cfg(feature = "model")]
pub fn as_data(&self) -> String {
match self {
ReactionType::Custom {
Expand Down

0 comments on commit 9e2d1de

Please sign in to comment.