diff options
Diffstat (limited to 'src/configs/shell.rs')
-rw-r--r-- | src/configs/shell.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configs/shell.rs b/src/configs/shell.rs index 4b56189c6..cd8b6d005 100644 --- a/src/configs/shell.rs +++ b/src/configs/shell.rs @@ -1,4 +1,4 @@ -use crate::config::{ModuleConfig, RootModuleConfig}; +use crate::config::ModuleConfig; use starship_module_config_derive::ModuleConfig; @@ -15,8 +15,8 @@ pub struct ShellConfig<'a> { pub disabled: bool, } -impl<'a> RootModuleConfig<'a> for ShellConfig<'a> { - fn new() -> Self { +impl<'a> Default for ShellConfig<'a> { + fn default() -> Self { ShellConfig { format: "$indicator ", bash_indicator: "bsh", |