s2n-quic icon indicating copy to clipboard operation
s2n-quic copied to clipboard

Reduce arguments to handle_cleartext_payload in PacketSpaceManager

Open WesleyRosenblum opened this issue 4 years ago • 0 comments

handle_cleartext_payload currently requires 8 arguments, which is more than Clippy is happy with. We should potentially gather some of the arguments into a Struct to simplify

  • there are a few more functions that take too_many parameters. search for all instances of #[allow(clippy::too_many_arguments)] and possibly create structs

WesleyRosenblum avatar Dec 10 '20 01:12 WesleyRosenblum