summaryrefslogtreecommitdiff
path: root/cli/worker.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/worker.rs')
-rw-r--r--cli/worker.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/cli/worker.rs b/cli/worker.rs
index 09aa1aec4..31a88ae4e 100644
--- a/cli/worker.rs
+++ b/cli/worker.rs
@@ -573,9 +573,9 @@ impl CliMainWorkerFactory {
let feature_checker = shared.feature_checker.clone();
let mut unstable_features =
Vec::with_capacity(crate::UNSTABLE_GRANULAR_FLAGS.len());
- for (feature_name, _, id) in crate::UNSTABLE_GRANULAR_FLAGS {
- if feature_checker.check(feature_name) {
- unstable_features.push(*id);
+ for granular_flag in crate::UNSTABLE_GRANULAR_FLAGS {
+ if feature_checker.check(granular_flag.name) {
+ unstable_features.push(granular_flag.id);
}
}
@@ -771,9 +771,9 @@ fn create_web_worker_callback(
let feature_checker = shared.feature_checker.clone();
let mut unstable_features =
Vec::with_capacity(crate::UNSTABLE_GRANULAR_FLAGS.len());
- for (feature_name, _, id) in crate::UNSTABLE_GRANULAR_FLAGS {
- if feature_checker.check(feature_name) {
- unstable_features.push(*id);
+ for granular_flag in crate::UNSTABLE_GRANULAR_FLAGS {
+ if feature_checker.check(granular_flag.name) {
+ unstable_features.push(granular_flag.id);
}
}