conradludgate / interim

English date parser. Fork of chrono-english
MIT License
5 stars 2 forks source link

Fix some docs in src/lib.rs: #2

Closed hbina closed 2 years ago

hbina commented 2 years ago
  1. Fix tests failing because example requires chrono feature.
  2. Enables all linting (None of these are triggered anyways).

Signed-off-by: Hanif Bin Ariffin hanif.ariffin.4326@gmail.com

conradludgate commented 2 years ago

The lints enable pedantic lints, which usually have too many warnings so I explicitly allowed them. If you add only warn(clippy::pedantic) and check cargo clippy, you will see a bunch of warnings.

I personally prefer the docs to not have the feature flags stuff. I'd rather document it as it should be used. We can always build the docs with all the features