From 7d2ffa76e5a34868a25a84e09e1e9f169d2d951f Mon Sep 17 00:00:00 2001 From: skkeye Date: Sun, 9 Feb 2025 23:17:30 -0500 Subject: [PATCH] fix: forgot fmt --- embassy-net/src/icmp.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/embassy-net/src/icmp.rs b/embassy-net/src/icmp.rs index dafe6ed8a..68f6fd536 100644 --- a/embassy-net/src/icmp.rs +++ b/embassy-net/src/icmp.rs @@ -579,7 +579,7 @@ pub mod ping { /// * `hop_limit` - The hop limit to be used by the socket. /// * `count` - The number of pings to be sent in one ping operation. /// * `timeout` - The timeout duration before returning a [`PingError::DestinationHostUnreachable`] error. - /// * `rate_limit` - The minimum time per echo request + /// * `rate_limit` - The minimum time per echo request. pub struct PingParams<'a> { target: Option, #[cfg(feature = "proto-ipv6")] @@ -706,13 +706,13 @@ pub mod ping { self.timeout } - /// Sets the `rate_limit`: minimum time per echo request + /// Sets the `rate_limit`: minimum time per echo request. pub fn set_rate_limit(&mut self, rate_limit: Duration) -> &mut Self { self.rate_limit = rate_limit; self } - /// Retrieve the rate_limit + /// Retrieve the rate_limit. pub fn rate_limit(&self) -> Duration { self.rate_limit }