Skip to content
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

Change inclusive range operator to ..= #94

Open
legends2k opened this issue Nov 1, 2019 · 0 comments
Open

Change inclusive range operator to ..= #94

legends2k opened this issue Nov 1, 2019 · 0 comments

Comments

@legends2k
Copy link

In 1. Basics ~ Matching inclusive range should be written ..=:

warning: `...` range patterns are deprecated
 --> src/main.rs:5:10
  |
5 |         0...3 => "small",
  |          ^^^ help: use `..=` for an inclusive range
  |
  = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
@legends2k legends2k changed the title Change inclusive range operator is no longer ... Change inclusive range operator to ..= Nov 1, 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

No branches or pull requests

1 participant