Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.

tendermint-rs: Fix error for not using inclusive range #326

Merged
merged 1 commit into from
Jul 30, 2019

Conversation

amanusk
Copy link
Contributor

@amanusk amanusk commented Jul 30, 2019

Compilation with nightly fails:

error: `...` range patterns are deprecated
  --> tendermint-rs/src/timeout.rs:41:21
   |                                 
41 |             Some('0'...'9') => "s",
   |                     ^^^ help: use `..=` for an inclusive range
   |                                 

@tarcieri
Copy link
Contributor

Thanks, this looks good, however be aware it may not fix the build on the latest nightly: rust-lang/rust#63115

@tarcieri tarcieri merged commit 1e48619 into tendermint:master Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants