Skip to content

Redundant variable usage #4075

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
Apr 6, 2020
Merged

Redundant variable usage #4075

merged 1 commit into from
Apr 6, 2020

Conversation

bdrum
Copy link
Contributor

@bdrum bdrum commented Apr 6, 2020

Hi!
First of all, thanks for the nice docs!

I've studying the docs and in this section from my side the code could be better.

I propose remove lowest variable, because it redundant and we have the same value in result of the loop.
Also change the output with string interpolation.

Sorry, not sure about formatting.
For sure both changes are not critical.

Hi!

I propose remove lowest variable, because it redundant and we have the same value in result of the loop.
Change output with string interpolation. 

Sorry, not sure about formatting.
For sure both changes are not critical.
@bdrum bdrum requested a review from a team as a code owner April 6, 2020 05:19
@dotnet-bot dotnet-bot added this to the April 2020 milestone Apr 6, 2020
@dnfclas
Copy link

dnfclas commented Apr 6, 2020

CLA assistant check
All CLA requirements met.

@BillWagner BillWagner added the ✨ 1st-time dotnet-api-docs contributor! Indicates PRs from new contributors to the dotnet-api-docs repository label Apr 6, 2020
Copy link
Member

@BillWagner BillWagner left a comment

Choose a reason for hiding this comment

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

Thanks for making this code simpler and easier to read @bdrum We appreciate it.

I've reviewed the changes, and I'll :shipit: now.

Thanks again for contributing to docs! 🎆

@BillWagner BillWagner merged commit 2cccc02 into dotnet:master Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ 1st-time dotnet-api-docs contributor! Indicates PRs from new contributors to the dotnet-api-docs repository
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants