diff options
Diffstat (limited to 'src/configs/hg_branch.rs')
-rw-r--r-- | src/configs/hg_branch.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configs/hg_branch.rs b/src/configs/hg_branch.rs index f96b84bcc..c06f9a1d0 100644 --- a/src/configs/hg_branch.rs +++ b/src/configs/hg_branch.rs @@ -1,4 +1,4 @@ -use crate::config::{ModuleConfig, RootModuleConfig}; +use crate::config::ModuleConfig; use starship_module_config_derive::ModuleConfig; @@ -12,8 +12,8 @@ pub struct HgBranchConfig<'a> { pub disabled: bool, } -impl<'a> RootModuleConfig<'a> for HgBranchConfig<'a> { - fn new() -> Self { +impl<'a> Default for HgBranchConfig<'a> { + fn default() -> Self { HgBranchConfig { symbol: " ", style: "bold purple", |