Skip to content

Update deprecated inclusive range#108

Open
pablosr11 wants to merge 1 commit into
stevedonovan:masterfrom
pablosr11:patch-2
Open

Update deprecated inclusive range#108
pablosr11 wants to merge 1 commit into
stevedonovan:masterfrom
pablosr11:patch-2

Conversation

@pablosr11

Copy link
Copy Markdown

Small update to the range pattern in 2nd match example.

Came across the helpful warning:
warning: ... range patterns are deprecated
help: use ..= for an inclusive range

I'm running rustc 1.50.0 (cb75ad5db 2021-02-10)

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