box::pin in run(),clippy (#115)

This commit is contained in:
Wyatt Verchere
2023-05-12 11:53:41 -07:00
committed by GitHub
parent ee0c91aa80
commit 5cb54b44be
3 changed files with 21 additions and 18 deletions

View File

@@ -216,7 +216,7 @@ pub async fn profile_edit(
path: &Path,
edit_profile: EditProfile,
) -> Result<()> {
profile::edit(&path, |prof| {
profile::edit(path, |prof| {
if let Some(metadata) = edit_profile.metadata.clone() {
if let Some(name) = metadata.name {
prof.metadata.name = name