From c7f70bf4f3ed80980710cfd6802911ac269c28d1 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 2 Jan 2024 12:43:21 +0000 Subject: [PATCH] Fixed some typos --- src/chan/ws_manager_chan.rs | 2 +- src/server/handler/lobbies.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chan/ws_manager_chan.rs b/src/chan/ws_manager_chan.rs index e7d2028..3c4613b 100644 --- a/src/chan/ws_manager_chan.rs +++ b/src/chan/ws_manager_chan.rs @@ -179,7 +179,7 @@ pub enum WsMessage { }, /// The user account was updated. /// - /// This might me especially useful for reflecting changes in the username, etc. in the + /// This might be especially useful for reflecting changes in the username, etc. in the /// frontend AccountUpdated { /// The new account data diff --git a/src/server/handler/lobbies.rs b/src/server/handler/lobbies.rs index ddf55a4..a6bf3da 100644 --- a/src/server/handler/lobbies.rs +++ b/src/server/handler/lobbies.rs @@ -159,7 +159,7 @@ pub struct GetLobbyResponse { chat_room_uuid: Uuid, } -/// Retrieves an open lobbies. +/// Retrieves an open lobby /// /// If `password` is `true`, the lobby is secured by a user-set password #[utoipa::path( @@ -946,7 +946,7 @@ pub struct PlayerKickPath { /// /// This endpoint can only be used by the lobby owner. /// -/// All players in the lobby as well as the kick player will receive a [WsMessage::LobbyKick] +/// All players in the lobby as well as the kicked player will receive a [WsMessage::LobbyKick] /// message via websocket on success. #[utoipa::path( tag = "Lobbies",