From 49ffe426610fe0220e34bf74412dcf61d0e9bc75 Mon Sep 17 00:00:00 2001 From: Brooks Date: Wed, 6 Dec 2023 12:48:25 -0500 Subject: [PATCH] Removes glob import of ApplyFeatureActivationsCaller (#34334) --- 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);