diff --git a/Cargo.toml b/Cargo.toml index dedbc8b3..f3b5d2cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -65,4 +65,4 @@ warp = "0.3.5" wasmtime = "12.0.1" wasmtime-wasi = "12.0.1" zip = "0.6" -base64 = "0.13" \ No newline at end of file +base64 = "0.13" diff --git a/src/http_server/mod.rs b/src/http_server/mod.rs index 3167c247..309f79ea 100644 --- a/src/http_server/mod.rs +++ b/src/http_server/mod.rs @@ -239,7 +239,7 @@ async fn http_handle_messages( let mut senders = http_response_senders.lock().await; match senders.remove(&id) { // if no corresponding entry, nowhere to send response - None => {} + None => { } Some((path, channel)) => { // if path is /rpc/message, return accordingly with base64 encoded payload if path == "/rpc:sys:uqbar/message".to_string() {