rust/library/core
Yuki Okushi c26dd4d414
Rollup merge of #81409 - gilescope:chars_count, r=joshtriplett
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?
2021-01-30 13:36:48 +09:00
..
benches Add more benchmarks 2021-01-08 09:50:35 +00:00
src Rollup merge of #81409 - gilescope:chars_count, r=joshtriplett 2021-01-30 13:36:48 +09:00
tests Rollup merge of #81306 - SkiFire13:fuse-flatten, r=cuviper 2021-01-29 09:17:36 +09:00
Cargo.toml