Skip to content

Fix line length calculation (should be in chars, not bytes) #1461

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 1, 2017

Conversation

stanislav-tkach
Copy link
Contributor

Fixed #1447

@stanislav-tkach
Copy link
Contributor Author

Looks like it is regression after #717 fix. I suppose length in bytes should be used for CRLF only and not for other characters.

@nrc
Copy link
Member

nrc commented May 1, 2017

Thank you!

@nrc nrc merged commit 6a19c93 into rust-lang:master May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants