From 869a6f31409a4e6b0f108f2785511ef24c80b22d Mon Sep 17 00:00:00 2001 From: David Knaack Date: Fri, 24 Jul 2020 23:42:36 +0200 Subject: [PATCH] fix: fix compilation with battery feature disabled (#1509) --- src/configs/starship_root.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configs/starship_root.rs b/src/configs/starship_root.rs index 5054f7a2..de6645be 100644 --- a/src/configs/starship_root.rs +++ b/src/configs/starship_root.rs @@ -11,7 +11,7 @@ pub struct StarshipRootConfig<'a> { // List of default prompt order // NOTE: If this const value is changed then Default prompt order subheading inside // prompt heading of config docs needs to be updated according to changes made here. -pub const PROMPT_ORDER: [&str; 44] = [ +pub const PROMPT_ORDER: &[&str] = &[ "username", "hostname", "singularity",