clippy
This commit is contained in:
parent
16c6b0eebb
commit
dfb37717b3
1 changed files with 6 additions and 6 deletions
|
@ -322,19 +322,19 @@ async fn cmd_promote(params : ExecBodyParams) {
|
||||||
let outmsg = match rslt {
|
let outmsg = match rslt {
|
||||||
ChangeResult::Success(rsltstr) => {
|
ChangeResult::Success(rsltstr) => {
|
||||||
format!("o7 Successfully promoted {} : {}",
|
format!("o7 Successfully promoted {} : {}",
|
||||||
targetusr.unwrap().to_string(),
|
targetusr.unwrap(),
|
||||||
rsltstr
|
rsltstr
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
ChangeResult::Failed(rsltstr) => {
|
ChangeResult::Failed(rsltstr) => {
|
||||||
format!("PoroSad failed to promote {} : {}",
|
format!("PoroSad failed to promote {} : {}",
|
||||||
targetusr.unwrap().to_string(),
|
targetusr.unwrap(),
|
||||||
rsltstr
|
rsltstr
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
ChangeResult::NoChange(rsltstr) => {
|
ChangeResult::NoChange(rsltstr) => {
|
||||||
format!("uuh No Promotion Change {} : {}",
|
format!("uuh No Promotion Change {} : {}",
|
||||||
targetusr.unwrap().to_string(),
|
targetusr.unwrap(),
|
||||||
rsltstr
|
rsltstr
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -558,19 +558,19 @@ async fn cmd_demote(params : ExecBodyParams) {
|
||||||
let outmsg = match rslt {
|
let outmsg = match rslt {
|
||||||
ChangeResult::Success(rsltstr) => {
|
ChangeResult::Success(rsltstr) => {
|
||||||
format!("o7 Successfully demoted {} : {}",
|
format!("o7 Successfully demoted {} : {}",
|
||||||
targetusr.unwrap().to_string(),
|
targetusr.unwrap(),
|
||||||
rsltstr
|
rsltstr
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
ChangeResult::Failed(rsltstr) => {
|
ChangeResult::Failed(rsltstr) => {
|
||||||
format!("PoroSad failed to demote {} : {}",
|
format!("PoroSad failed to demote {} : {}",
|
||||||
targetusr.unwrap().to_string(),
|
targetusr.unwrap(),
|
||||||
rsltstr
|
rsltstr
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
ChangeResult::NoChange(rsltstr) => {
|
ChangeResult::NoChange(rsltstr) => {
|
||||||
format!("uuh No Demotion Change {} : {}",
|
format!("uuh No Demotion Change {} : {}",
|
||||||
targetusr.unwrap().to_string(),
|
targetusr.unwrap(),
|
||||||
rsltstr
|
rsltstr
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue