Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Jul 18, 2024
1 parent 53b9eff commit 754c416
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions zenoh/src/net/routing/interceptor/authorization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand All @@ -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| {
Expand All @@ -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| {
Expand Down

0 comments on commit 754c416

Please sign in to comment.