Skip to content

Commit d092869

Browse files
author
Elrond
committed
refactor(relay): make StartupStep::ALL a slice
Removing a step no longer requires editing a hand-kept array length, so two PRs that each drop a step can't merge into an array whose length disagrees with its entries. Signed-off-by: Elrond <28d6302a099e5225b02c4155ac4236e4912603df2ab08dbfc2f4fef08ce598c8@buzz.block.builderlab.xyz>
1 parent f4165ee commit d092869

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎crates/buzz-relay/src/startup_steps.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ pub enum StartupStep {
7777

7878
impl StartupStep {
7979
/// The complete `phase` label vocabulary.
80-
pub const ALL: [Self; 18] = [
80+
pub const ALL: &[Self] = &[
8181
Self::DbConnect,
8282
Self::DbMigrate,
8383
Self::PartitionEnsure,

0 commit comments

Comments
 (0)