Closed kdheepak closed 2 years ago
I'd like to use options.contains(option) where options is a Vec<PandocOption>, and option is a PandocOption. This would require PartialEq to be implemented on the Enum. Is there a reason this wasn't implemented to begin with?
options.contains(option)
options
Vec<PandocOption>
option
PandocOption
PartialEq
If not, this PR should be ready to go.
just minimalism. Without knowing a use case such impls are unnecessary
published as 0.8.8
Thanks!
I'd like to use
options.contains(option)
whereoptions
is aVec<PandocOption>
, andoption
is aPandocOption
. This would requirePartialEq
to be implemented on the Enum. Is there a reason this wasn't implemented to begin with?If not, this PR should be ready to go.