mirror of
https://github.com/soywod/himalaya.git
synced 2024-07-05 17:15:12 +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
|
@ -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))
|
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())
|
.default(path.to_string_lossy().to_string())
|
||||||
.interact()?;
|
.interact()?;
|
||||||
let path = expand::path(&path);
|
let path = expand::path(path);
|
||||||
|
|
||||||
println!("Writing the configuration to {path:?}…");
|
println!("Writing the configuration to {path:?}…");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue