Skip to content

Fixing ambiguous/inconsistent indentation #246

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

scottsb
Copy link

@scottsb scottsb commented Sep 5, 2015

This is a pretty trivial change but makes this block of code easier to read and parallel with the next block. Previously it was indented to look like an if block, but actually it was structured as a single-line if statement with a lambda function block inside the statement. This makes the if statement a block of its own with the lambda clearly nested inside that.

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.

1 participant