mirror of
https://github.com/ruby/ruby.git
synced 2026-01-26 12:14:51 +00:00
[DOC] Fix typo: occurences -> occurrences
This commit is contained in:
parent
3328246b91
commit
3dd928c284
Notes:
git
2026-01-24 03:42:04 +00:00
Merged: https://github.com/ruby/ruby/pull/15951 Merged-By: nobu <nobu@ruby-lang.org>
@ -38,7 +38,7 @@ rb_str_encindex_fastpath(int encindex)
|
||||
// Hence you can use fast, single byte algorithms on them, such as `memchr` etc,
|
||||
// without all the overhead of fetching the rb_encoding and using functions such as
|
||||
// rb_enc_mbminlen etc.
|
||||
// Many other encodings could qualify, but they are expected to be rare occurences,
|
||||
// Many other encodings could qualify, but they are expected to be rare occurrences,
|
||||
// so it's better to keep that list small.
|
||||
switch (encindex) {
|
||||
case ENCINDEX_ASCII_8BIT:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user