[pbs-devel] [PATCH proxmox] http: rate limited stream: fix typo in rustdoc comment

Lukas Wagner l.wagner at proxmox.com
Thu Sep 21 13:19:26 CEST 2023


Signed-off-by: Lukas Wagner <l.wagner at proxmox.com>
---
 proxmox-http/src/rate_limited_stream.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-http/src/rate_limited_stream.rs b/proxmox-http/src/rate_limited_stream.rs
index 78b435b..d43c09c 100644
--- a/proxmox-http/src/rate_limited_stream.rs
+++ b/proxmox-http/src/rate_limited_stream.rs
@@ -59,7 +59,7 @@ impl<S> RateLimitedStream<S> {
 
     /// Creates a new instance with limiter update callback.
     ///
-    /// The fuction is called every minute to update/change the used limiters.
+    /// The function is called every minute to update/change the used limiters.
     ///
     /// Note: This function is called within an async context, so it
     /// should be fast and must not block.
-- 
2.39.2






More information about the pbs-devel mailing list