Browse Source

Fix clippy::useless_conversion

merge-requests/23/head
Valkum 5 years ago committed by Rudi Floren
parent
commit
54a080fe1f
  1. 2
      src/client_server/push.rs

2
src/client_server/push.rs

@ -95,7 +95,7 @@ pub async fn get_pushrule_route( @@ -95,7 +95,7 @@ pub async fn get_pushrule_route(
if let Some(rule) = rule {
Ok(get_pushrule::Response { rule }.into())
} else {
Err(Error::BadRequest(ErrorKind::NotFound, "Push rule not found.").into())
Err(Error::BadRequest(ErrorKind::NotFound, "Push rule not found."))
}
}

Loading…
Cancel
Save