tisonkun / cronexpr

Calculate the next timestamp matching a given crontab pattern
https://docs.rs/cronexpr
Apache License 2.0
49 stars 2 forks source link

chore: mark FallbackTimezoneOption as non_exhaustive #21

Closed tisonkun closed 4 weeks ago

tisonkun commented 4 weeks ago

Although this is less likely to be extended, I'd try to mark it as non_exhaustive.

Typically, people only pass a certain variant to construct a ParseOptions. This only affect when people try to match against variants and then they should handle the _ cases always.

This is related to #16 #18 #19.