From 754c41674d14bffdc8373aacecee845becb3731d Mon Sep 17 00:00:00 2001 From: Mahmoud Mazouz Date: Thu, 18 Jul 2024 11:31:52 +0200 Subject: [PATCH] Fix typos --- zenoh/src/net/routing/interceptor/authorization.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zenoh/src/net/routing/interceptor/authorization.rs b/zenoh/src/net/routing/interceptor/authorization.rs index 70e293003a..fdcd372e1d 100644 --- a/zenoh/src/net/routing/interceptor/authorization.rs +++ b/zenoh/src/net/routing/interceptor/authorization.rs @@ -386,7 +386,7 @@ impl PolicyEnforcer { ); } // validate subject config fields - // FIXME: Unecessary .collect() because of different iterator types + // FIXME: Unnecessary .collect() because of different iterator types let interfaces = config_subject .interfaces .map(|interfaces| { @@ -397,7 +397,7 @@ impl PolicyEnforcer { }) .unwrap_or(vec![SubjectProperty::Wildcard]); - // FIXME: Unecessary .collect() because of different iterator types + // FIXME: Unnecessary .collect() because of different iterator types let cert_common_names = config_subject .cert_common_names .map(|cert_common_names| { @@ -408,7 +408,7 @@ impl PolicyEnforcer { }) .unwrap_or(vec![SubjectProperty::Wildcard]); - // FIXME: Unecessary .collect() because of different iterator types + // FIXME: Unnecessary .collect() because of different iterator types let usernames = config_subject .usernames .map(|usernames| {