summaryrefslogtreecommitdiffstats
path: root/src/configs/aws.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/configs/aws.rs')
-rw-r--r--src/configs/aws.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/configs/aws.rs b/src/configs/aws.rs
index 2a033937d..adc3868e8 100644
--- a/src/configs/aws.rs
+++ b/src/configs/aws.rs
@@ -1,4 +1,4 @@
-use crate::config::{ModuleConfig, RootModuleConfig};
+use crate::config::ModuleConfig;
use starship_module_config_derive::ModuleConfig;
use std::collections::HashMap;
@@ -11,8 +11,8 @@ pub struct AwsConfig<'a> {
pub region_aliases: HashMap<String, &'a str>,
}
-impl<'a> RootModuleConfig<'a> for AwsConfig<'a> {
- fn new() -> Self {
+impl<'a> Default for AwsConfig<'a> {
+ fn default() -> Self {
AwsConfig {
format: "on [$symbol($profile )(\\($region\\) )]($style)",
symbol: "☁️ ",