mirror of
https://github.com/rust-lang/rust.git
synced 2025-11-18 10:28:01 +00:00
Slight simplification of chars().count() Slight simplification: No need to call len(), we can just count the number of non continuation bytes. I can't see any reason not to do this, can you?