summaryrefslogtreecommitdiff
path: root/runtime/ops
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops')
-rw-r--r--runtime/ops/bootstrap.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/ops/bootstrap.rs b/runtime/ops/bootstrap.rs
index 0d8c1dab8..a60544534 100644
--- a/runtime/ops/bootstrap.rs
+++ b/runtime/ops/bootstrap.rs
@@ -100,9 +100,9 @@ pub fn op_bootstrap_unstable_args(state: &mut OpState) -> Vec<String> {
}
let mut flags = Vec::new();
- for (name, _, id) in crate::UNSTABLE_GRANULAR_FLAGS.iter() {
- if options.unstable_features.contains(id) {
- flags.push(format!("--unstable-{}", name));
+ for granular_flag in crate::UNSTABLE_GRANULAR_FLAGS.iter() {
+ if options.unstable_features.contains(&granular_flag.id) {
+ flags.push(format!("--unstable-{}", granular_flag.name));
}
}
flags