mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
cef81dcd0a
Previously "bare\r" was split into ["bare"] even though the documentation said that only LF and CRLF count as newlines. This fix is a behavioural change, even though it brings the behaviour into line with the documentation, and into line with that of `std::io::BufRead::lines()`. This is an alternative to #91051, which proposes to document rather than fix the behaviour. Fixes #94435. Co-authored-by: Ian Jackson <ijackson@chiark.greenend.org.uk> |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |