oli-obk / rust-pandoc

Apache License 2.0
51 stars 29 forks source link

Add partial eq to enum #45

Closed kdheepak closed 2 years ago

kdheepak commented 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?

If not, this PR should be ready to go.

oli-obk commented 2 years ago

just minimalism. Without knowing a use case such impls are unnecessary

oli-obk commented 2 years ago

published as 0.8.8

kdheepak commented 2 years ago

Thanks!