remove reference over trait implemented type

Reasons:
- String already implement the AsRef<str>.

Signed-off-by: Perma Alesheikh <me@prma.dev>
This commit is contained in:
Perma Alesheikh
2024-01-09 13:57:48 +03:30
committed by Clément DOUIN
parent 2ef477c225
commit 945c567f35
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -244,7 +244,7 @@ impl TomlConfig {
)),
};
let account_config = config.account(&account_name)?;
let account_config = config.account(account_name)?;
Ok((toml_account_config, account_config))
}
+1 -1
View File
@@ -91,7 +91,7 @@ pub(crate) async fn configure(path: PathBuf) -> Result<TomlConfig> {
))
.default(path.to_string_lossy().to_string())
.interact()?;
let path = expand::path(&path);
let path = expand::path(path);
println!("Writing the configuration to {path:?}");