Skip to content

Commit

Permalink
Removes glob import of ApplyFeatureActivationsCaller (#34334)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Dec 6, 2023
1 parent 1877fdb commit 49ffe42
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 49ffe42

Please sign in to comment.