Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We don't need to (or rather need not to) handle trailing newline in any special way - BufReader::read_line already takes care of it, reading until \n, so in all sensible cases (trailing \n, trailing \r\n, no trailing newline), no extra line would be counted.
- Loading branch information