Skip to content

Commit

Permalink
Clippy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sashacmc committed Feb 1, 2024
1 parent e03d5ea commit 167652e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commons/zenoh-util/src/std_only/net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ unsafe fn get_adapters_adresses() -> ZResult<Vec<u8>> {
bail!("GetAdaptersAddresses returned {}", ret)
}

return Ok(buffer);
Ok(buffer)
}

pub fn get_interface(name: &str) -> ZResult<Option<IpAddr>> {
Expand Down

0 comments on commit 167652e

Please sign in to comment.