diff --git a/src/modules/aws.rs b/src/modules/aws.rs index c6fc8e92..7962516d 100644 --- a/src/modules/aws.rs +++ b/src/modules/aws.rs @@ -80,7 +80,7 @@ fn get_aws_region() -> Option { fn alias_region(region: &str, aliases: &HashMap) -> String { match aliases.get(region) { None => region.to_string(), - Some(alias) => alias.to_string(), + Some(alias) => (*alias).to_string(), } }