Skip to content
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

Use string interpolation for trailing whitespace #730

Merged

Conversation

jonathanhefner
Copy link
Member

Code editors are commonly configured to strip trailing whitespace when saving. Additionally, trailing whitespace may be hard to distinguish visually, both in the editor and in diffs.

This commit uses string interpolation to encode expected trailing whitespace.

Code editors are commonly configured to strip trailing whitespace when
saving.  Additionally, trailing whitespace may be hard to distinguish
visually, both in the editor and in diffs.

This commit uses string interpolation to encode expected trailing
whitespace.
Copy link

@dorner dorner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@rafaelfranca rafaelfranca merged commit 013c915 into rails:master Jun 2, 2021
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.

3 participants