mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 18:25:30 +00:00
fix more clippy warnings
This commit is contained in:
parent
aabdf76a5d
commit
561cc3db55
16 changed files with 83 additions and 106 deletions
|
|
@ -271,7 +271,7 @@ pub enum OutMessage {
|
|||
|
||||
impl OutMessage {
|
||||
#[inline]
|
||||
pub fn to_ws_message(self) -> tungstenite::Message {
|
||||
pub fn into_ws_message(self) -> tungstenite::Message {
|
||||
let json = match self {
|
||||
Self::AnnounceResponse(message) => {
|
||||
serde_json::to_string(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue