From dfb37717b38cec08ad96faad8454d7dd81852ef7 Mon Sep 17 00:00:00 2001 From: ModulatingForce <116608425+modulatingforce@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:36:46 -0400 Subject: [PATCH] clippy --- src/core/identity.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/core/identity.rs b/src/core/identity.rs index 59f6eed..0e092e0 100644 --- a/src/core/identity.rs +++ b/src/core/identity.rs @@ -322,19 +322,19 @@ async fn cmd_promote(params : ExecBodyParams) { let outmsg = match rslt { ChangeResult::Success(rsltstr) => { format!("o7 Successfully promoted {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::Failed(rsltstr) => { format!("PoroSad failed to promote {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::NoChange(rsltstr) => { format!("uuh No Promotion Change {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } @@ -558,19 +558,19 @@ async fn cmd_demote(params : ExecBodyParams) { let outmsg = match rslt { ChangeResult::Success(rsltstr) => { format!("o7 Successfully demoted {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::Failed(rsltstr) => { format!("PoroSad failed to demote {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) } ChangeResult::NoChange(rsltstr) => { format!("uuh No Demotion Change {} : {}", - targetusr.unwrap().to_string(), + targetusr.unwrap(), rsltstr ) }