Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzypixelz committed Sep 6, 2024
1 parent cc6cc84 commit f2f4fc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion io/zenoh-transport/src/unicast/establishment/open.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,7 @@ pub(crate) async fn open_link(
ext_compression: ext::compression::CompressionFsm::new(),
};

// Clippy raises a warning because `batch_size::UNICAST` is currently equal to `BatchSize::MAX`.
// Clippy raises a warning because `batch_size::UNICAST` is currently equal to `BatchSize::MAX`.
// However, the current code catches the cases where `batch_size::UNICAST` is different from `BatchSize::MAX`.
#[allow(clippy::unnecessary_min_or_max)]
let batch_size = manager
Expand Down

0 comments on commit f2f4fc9

Please sign in to comment.