Skip to content

Refactor: Remove unnecessary parentheses in if condition - #566

Merged
matchai merged 1 commit into
starship:masterfrom
cljoly:patch-1
Oct 20, 2019
Merged

matchai merged 1 commit into
starship:masterfrom
cljoly:patch-1

Conversation

@cljoly

@cljoly cljoly commented Oct 19, 2019 •

Copy link
Copy Markdown
Contributor

Found with clippy ;-)

Description

Motivation and Context

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Screenshots (if appropriate):

How Has This Been Tested?

  • I have tested using MacOS
  • I have tested using Linux
  • I have tested using Windows

Checklist:

  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.

@heyrict heyrict changed the title Fix: Useless parenthesis in if condition fix: Useless parenthesis in if condition Oct 20, 2019

@brianlow brianlow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@matchai matchai changed the title fix: Useless parenthesis in if condition Refactor: Remove unnecessary parentheses in if condition Oct 20, 2019
@matchai
matchai merged commit 7e21f5c into starship:master Oct 20, 2019
@matchai

matchai commented Oct 20, 2019

Copy link
Copy Markdown
Member

Thank you for the quick fix, @cljoly! 😄

@cljoly

cljoly commented Oct 20, 2019

Copy link
Copy Markdown
Contributor Author

You're welcome!

hoop33 pushed a commit to hoop33/starship that referenced this pull request Dec 3, 2019
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