Skip to content

Commit 055a7e5

Browse files
wip
1 parent 9f0ada5 commit 055a7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rs/cli/src/commands/registry/helpers/versions.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ pub struct VersionRange {
1111
}
1212

1313
impl VersionRange {
14-
pub fn create_from_args(maybe_version: Option<i64>, maybe_version_2: Option<i64>, mode: VersionFillMode, versions_in_registry: &[u64], ) -> anyhow::Result<Self> {
14+
pub fn create_from_args(maybe_version_1: Option<i64>, maybe_version_2: Option<i64>, mode: VersionFillMode, versions_in_registry: &[u64], ) -> anyhow::Result<Self> {
1515
let length: u64 = versions_in_registry.len() as u64;
1616
let max_version_u64: u64 = versions_in_registry[length as usize - 1];
1717

1818
let from_version: u64;
1919
let to_version: u64;
2020

21-
match (maybe_version, maybe_version_2) {
21+
match (maybe_version_1, maybe_version_2) {
2222
(None, None) => {
2323
from_version = 1;
2424
to_version = max_version_u64;

0 commit comments

Comments
 (0)