Skip to content

Conversation

@ogham
Copy link
Contributor

@ogham ogham commented Aug 24, 2015

There are two separate loops called 'digits present in the same
function. Although these are on two different sides of an if/else
statement, meaning that they can never overlap, there was a language
change several months ago that forbade even this in the name of
future-proofing:

This commit merely gives them unique names, removing the warning.

There are two separate loops called 'digits present in the same
function. Although these are on two different sides of an if/else
statement, meaning that they can never overlap, there was a language
change several months ago that forbade even this in the name of
future-proofing:

- rust-lang/rust#24162
- https://internals.rust-lang.org/t/psa-rejecting-duplicate-loop-labels/1833

This commit merely gives them unique names, removing the warning.
lifthrasiir added a commit that referenced this pull request Aug 24, 2015
Rename loop labels to avoid a warning
@lifthrasiir lifthrasiir merged commit 6ea8b44 into lifthrasiir:master Aug 24, 2015
@lifthrasiir
Copy link
Owner

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