|
@@ -362,7 +362,8 @@ fn expand_version_range(range: &str) -> Result<Vec<u32>, &'static str> {
|
|
|
"cannot parse protocol range upper bound",
|
|
|
))?;
|
|
|
|
|
|
- Ok((lower..=higher).collect())
|
|
|
+ // We can use inclusive range syntax when it becomes stable.
|
|
|
+ Ok((lower..higher+1).collect())
|
|
|
}
|
|
|
|
|
|
/// Checks to see if there is a continuous range of integers, starting at the
|