mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-22 02:50:19 +00:00
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:
parent
2ef477c225
commit
945c567f35
2 changed files with 2 additions and 2 deletions
|
@ -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))
|
||||
}
|
||||
|
|
|
@ -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:?}…");
|
||||
|
||||
|
|
Loading…
Reference in a new issue