Skip to content

AttrValue::Owned != AttrValue::Static #2159

Answered by ranile
mibes asked this question in Q&A
Discussion options

You must be logged in to vote

The Cow type implements PartialEq manually to account for different variations, AttrValue doesn't (it derives it). That's why this problem occurs. Manually implementing PartialEq should solve this issue

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
5 replies
@mibes
Comment options

@voidpumpkin
Comment options

@voidpumpkin
Comment options

@mibes
Comment options

@ranile
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by mibes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants