BurntSushi / memchr

Optimized string search routines for Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Typo in the doc

HeroicKatora opened this issue · comments

/// optimized routine that can be up to an order of magnitude master in some

should be

/// optimized routine that can be up to an order of magnitude faster in some

https://github.com/BurntSushi/rust-memchr/blob/451d16d440928b5547b92317fd83fc4c937b7b91/src/lib.rs#L223

This is fixed on master in #40.

No, this is a different line (L121 in memchr was fixed vs. L223 in memrchr remains faulty). Note that the documentation was duplicated to another method. See https://github.com/BurntSushi/rust-memchr/blob/master/src/lib.rs#L223