Henauxg / bevy_quinnet

A Client/Server game networking plugin using QUIC, for the Bevy game engine.
Apache License 2.0
251 stars 16 forks source link

[API] Unneeded use of `&mut self` on some `Endpoint` send methods #12

Closed Kneelawk closed 1 year ago

Kneelawk commented 1 year ago

The Issue

While using this library, I noticed that some Endpoint send methods are &mut self and some are just &self. Looking further, it looks like the method for sending payloads is just &self, meaning that potentially none of these send methods need to be &mut self?

Henauxg commented 1 year ago

Thank you, fixed on main