Keats / validator

Simple validation for Rust structs
MIT License
1.97k stars 141 forks source link

Use `chars().count()` instead of `len()` for `Cow<'a, str>` #271

Closed future-highway closed 8 months ago

future-highway commented 1 year ago

Updated HasLen implementation for Cow<'a, str> so that it matches the other String types.

pintariching commented 1 year ago

The crate is currently undergoing a major rewrite, check out #262.

Keats commented 11 months ago

Can you do the PR on the next branch?