diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-01-30 13:36:48 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-30 13:36:48 +0900 |
| commit | c26dd4d4140202283221c05758b1b1531b2fbb96 (patch) | |
| tree | c4a8d8ef3ee93f46e038f003775cd7da268d098d /library/std/src/sys/unix/stack_overflow.rs | |
| parent | 7fa991fb8545d8b03f0ab953770cb4fa08921abc (diff) | |
| parent | a623ea5301737507a8229c2ddae74b20f727bd1b (diff) | |
| download | rust-c26dd4d4140202283221c05758b1b1531b2fbb96.tar.gz rust-c26dd4d4140202283221c05758b1b1531b2fbb96.zip | |
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?
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
