about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-01-30 13:36:48 +0900
committerGitHub <noreply@github.com>2021-01-30 13:36:48 +0900
commitc26dd4d4140202283221c05758b1b1531b2fbb96 (patch)
treec4a8d8ef3ee93f46e038f003775cd7da268d098d /library/std/src/sys/unix/stack_overflow.rs
parent7fa991fb8545d8b03f0ab953770cb4fa08921abc (diff)
parenta623ea5301737507a8229c2ddae74b20f727bd1b (diff)
downloadrust-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