Skip to content

Commit

Permalink
Implement PartialEq and Eq for ActivityData (serenity-rs#3094)
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinegb authored Jan 15, 2025
1 parent f28ac46 commit 5f2133e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gateway/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ pub struct PresenceData {
}

/// Activity data of the current user.
#[derive(Clone, Debug, Serialize)]
#[derive(Clone, Debug, Serialize, PartialEq, Eq)]
pub struct ActivityData {
/// The name of the activity
pub name: String,
Expand Down

0 comments on commit 5f2133e

Please sign in to comment.