fix: fix compilation with battery feature disabled (#1509)

This commit is contained in:
David Knaack 2020-07-24 23:42:36 +02:00 committed by GitHub
parent c46066a8d5
commit 869a6f3140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ pub struct StarshipRootConfig<'a> {
// List of default prompt order // List of default prompt order
// NOTE: If this const value is changed then Default prompt order subheading inside // 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. // 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", "username",
"hostname", "hostname",
"singularity", "singularity",