From 186f36efbc3404a61f5b45eac104e4ecd2c916b3 Mon Sep 17 00:00:00 2001 From: brooks Date: Wed, 6 Dec 2023 01:00:15 -0500 Subject: [PATCH] Removes glob import of ApplyFeatureActivationsCaller --- runtime/src/bank.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index e21caddcd5a764..da62ea932748f1 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -7875,11 +7875,11 @@ impl Bank { caller: ApplyFeatureActivationsCaller, debug_do_not_add_builtins: bool, ) { - use ApplyFeatureActivationsCaller::*; + use ApplyFeatureActivationsCaller as Caller; let allow_new_activations = match caller { - FinishInit => false, - NewFromParent => true, - WarpFromParent => false, + Caller::FinishInit => false, + Caller::NewFromParent => true, + Caller::WarpFromParent => false, }; let (feature_set, new_feature_activations) = self.compute_active_feature_set(allow_new_activations);