Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Dec 11, 2024
1 parent fa339b7 commit f04b997
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions io/zenoh-transport/src/unicast/universal/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,7 @@ impl TransportUnicastTrait for TransportUnicastUniversal {
/* TX */
/*************************************/
fn schedule(&self, msg: NetworkMessage) -> ZResult<()> {
match self.internal_schedule(msg) {
Ok(_) => Ok(()),
Err(err) => Err(err.into()),
}
self.internal_schedule(msg).map(|_| ())
}

fn add_debug_fields<'a, 'b: 'a, 'c>(
Expand Down

0 comments on commit f04b997

Please sign in to comment.