mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-09 13:33:43 +00:00
![]() Gives a performance increase over calling byte_pos_to_line_and_col twice, partially because it decreases the function calling overhead, potentially because it doesn't populate the line cache with lines that turn out to belong to invalid spans, and likely because of some other incidental improvements made possible by having more context available. |
||
---|---|---|
.. | ||
src | ||
Cargo.toml |