Fix: Tag type is not able to derive Eq
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
parent
adac287450
commit
b97dc8ca3e
|
@ -93,6 +93,7 @@ pub struct Emoji {
|
||||||
/// as a [`Tag`](https://docs.joinmastodon.org/entities/Tag/). In the case of
|
/// as a [`Tag`](https://docs.joinmastodon.org/entities/Tag/). In the case of
|
||||||
/// the former, at the time of writing, the history field is always empty and
|
/// the former, at the time of writing, the history field is always empty and
|
||||||
/// the following field is always none.
|
/// the following field is always none.
|
||||||
|
#[allow(clippy::derive_partial_eq_without_eq)]
|
||||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
|
||||||
pub struct Tag {
|
pub struct Tag {
|
||||||
/// The hashtag, not including the preceding `#`.
|
/// The hashtag, not including the preceding `#`.
|
||||||
|
|
Loading…
Reference in New Issue