Skip to content

Improve end lines handling #2779

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 2 commits into from
Jun 11, 2018
Merged

Improve end lines handling #2779

merged 2 commits into from
Jun 11, 2018

Conversation

t-botz
Copy link
Contributor

@t-botz t-botz commented Jun 9, 2018

  • End Lines are handled by the format process instead of the write mode, because :

    • Conceptually it sounds right
    • Absolutely all write modes where doing it anyway
    • It was done several times in some in case
    • It greatly simplify the code
  • Parse Error doesn't return successful anymore

  • Use new Rust Apis to read and write files in write mode

t-botz added 2 commits June 10, 2018 00:25
Why?:
 - Conceptually it sounds right
 - Absolutely all write modes where doing it anyway
 - It was done several times in some in case
 - It greatly simplify the code
@t-botz t-botz mentioned this pull request Jun 9, 2018
@topecongiro topecongiro merged commit 0ec1533 into rust-lang:master Jun 11, 2018
@topecongiro
Copy link
Contributor

Thank you!

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