Skip to content

Commit

Permalink
refactor: remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
Joonas Koivunen committed Mar 25, 2020
1 parent 468388b commit d486157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/src/v0/support.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ pub async fn recover_as_message_response(
.to_json_reply(),
);
status = StatusCode::BAD_REQUEST;
} else if let Some(e) = err.find::<NonUtf8Topic>() {
} else if let Some(_) = err.find::<NonUtf8Topic>() {
resp = Box::new(
MessageKind::Error
.with_code(0)
Expand Down

0 comments on commit d486157

Please sign in to comment.