mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-21 11:23:03 +00:00
![]() Avoid byte to char position conversions in `is_multiline` Converting a byte position into a char position is currently linear in the number of multibyte characters in the source code. Avoid it when checking if a range spans across lines. This makes it feasible to compile source files with a large number of multibyte characters. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |