mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-01 15:50:05 +03:00
c26dd4d414
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?