Skip to content

feat(network): start network impl and rpc handling #65

feat(network): start network impl and rpc handling

feat(network): start network impl and rpc handling #65

Triggered via pull request October 11, 2023 18:44
Status Success
Total duration 10m 0s
Artifacts

unit.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error
you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let`: crates/network/src/rpc/handler/handler.rs#L150
error: you seem to be trying to use `match` for destructuring a single pattern. Consider using `if let` --> crates/network/src/rpc/handler/handler.rs:150:13 | 150 | / match result { 151 | | Ok(((request_id, request), response_sender)) => { 152 | | return Poll::Ready(ConnectionHandlerEvent::NotifyBehaviour( 153 | | Event::InboundRequest(request_id, request, response_sender), ... | 158 | | } 159 | | } | |_____________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#single_match = note: `-D clippy::single-match` implied by `-D warnings` help: try this | 150 ~ if let Ok(((request_id, request), response_sender)) = result { 151 + return Poll::Ready(ConnectionHandlerEvent::NotifyBehaviour( 152 + Event::InboundRequest(request_id, request, response_sender), 153 + )) 154 + } |