Skip to content

Commit

Permalink
Rrmoved *2
Browse files Browse the repository at this point in the history
  • Loading branch information
bkontur committed Oct 3, 2024
1 parent 89206fc commit 3c72ec2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ where

// Need 2x capacity since we consider both directions for each lane
let mut message_relays =
Vec::with_capacity(lanes_l2r.len().saturating_add(lanes_r2l.len()) * 2);
Vec::with_capacity(lanes_l2r.len().saturating_add(lanes_r2l.len()));
for lane in lanes_l2r {
let left_to_right_messages =
crate::messages::run::<<Self::L2R as MessagesCliBridge>::MessagesLane, _, _>(
Expand Down

0 comments on commit 3c72ec2

Please sign in to comment.