Skip to content

Commit

Permalink
[rust] Minor change related to variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
bonigarcia committed Oct 18, 2024
1 parent 075b7c8 commit 118f6fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rust/src/chrome.rs
Original file line number Diff line number Diff line change
Expand Up @@ -521,13 +521,13 @@ impl SeleniumManager for ChromeManager {
let good_versions_url = self.create_cft_url_for_browsers(GOOD_VERSIONS_ENDPOINT);
let all_versions =
self.request_versions_from_online::<VersionsWithDownloads>(&good_versions_url)?;
let inter_versions = all_versions.versions.into_iter();
let iter_versions = all_versions.versions.into_iter();
let filtered_versions: Vec<Version> = if self.is_browser_version_specific() {
inter_versions
iter_versions
.filter(|r| r.version.eq(browser_version.as_str()))
.collect()
} else {
inter_versions
iter_versions
.filter(|r| r.version.starts_with(major_browser_version.as_str()))
.collect()
};
Expand Down

0 comments on commit 118f6fc

Please sign in to comment.