Skip to content

Commit 5f2133e

Browse files
authored
Implement PartialEq and Eq for ActivityData (#3094)
1 parent f28ac46 commit 5f2133e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gateway/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ pub struct PresenceData {
7070
}
7171

7272
/// Activity data of the current user.
73-
#[derive(Clone, Debug, Serialize)]
73+
#[derive(Clone, Debug, Serialize, PartialEq, Eq)]
7474
pub struct ActivityData {
7575
/// The name of the activity
7676
pub name: String,

0 commit comments

Comments
 (0)