Skip to content

Commit

Permalink
fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dwrensha committed Jun 1, 2024
1 parent fd803d1 commit 453d58a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions capnp-rpc/src/twoparty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ where
first_segment_word_size: u32,
) -> Box<dyn crate::OutgoingMessage> {
let message = ::capnp::message::Builder::new(
::capnp::message::HeapAllocator::new()
.first_segment_words(first_segment_word_size as u32),
::capnp::message::HeapAllocator::new().first_segment_words(first_segment_word_size),
);
Box::new(OutgoingMessage {
message,
Expand Down

0 comments on commit 453d58a

Please sign in to comment.