Skip to content

Commit

Permalink
fix: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wyfo committed Jan 15, 2025
1 parent c73b2fe commit 7018cfd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zenoh/src/net/routing/dispatcher/pubsub.rs
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,9 @@ macro_rules! inc_stats {
};
}

// having all the arguments instead of an intermediate struct seems to enable a better inlining
// see https://github.com/eclipse-zenoh/zenoh/pull/1713#issuecomment-2590130026
#[allow(clippy::too_many_arguments)]
pub fn route_data(
tables_ref: &Arc<TablesLock>,
face: &FaceState,
Expand Down

0 comments on commit 7018cfd

Please sign in to comment.