diff options
| author | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-10-12 23:01:54 +0300 |
| commit | ee2575794e91b9457a74a95daf1dcc707058cd58 (patch) | |
| tree | df725850ef18ded5ce3f6552e17095d0f704ae84 /azalea-protocol/src/packets/game/c_player_chat.rs | |
| parent | 1a1402954b07cd77615d0afc026c73b008787f51 (diff) | |
| download | azalea-drasl-ee2575794e91b9457a74a95daf1dcc707058cd58.tar.xz | |
upgrade deps and clean up lots of doc comments
Diffstat (limited to 'azalea-protocol/src/packets/game/c_player_chat.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_player_chat.rs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/azalea-protocol/src/packets/game/c_player_chat.rs b/azalea-protocol/src/packets/game/c_player_chat.rs index 1e65864c..75683c21 100644 --- a/azalea-protocol/src/packets/game/c_player_chat.rs +++ b/azalea-protocol/src/packets/game/c_player_chat.rs @@ -41,7 +41,7 @@ pub struct PackedLastSeenMessages { pub entries: Vec<PackedMessageSignature>, } -/// Messages can be deleted by either their signature or message id. +/// Messages can be deleted by either their signature or message ID. #[derive(Clone, Debug, PartialEq)] pub enum PackedMessageSignature { Signature(Box<MessageSignature>), @@ -88,9 +88,10 @@ pub struct MessageSignatureCache { } impl ClientboundPlayerChat { - /// Returns the content of the message. If you want to get the FormattedText - /// for the whole message including the sender part, use - /// [`ClientboundPlayerChat::message`]. + /// Returns the content of the message. + /// + /// If you want to get the [`FormattedText`] for the whole message including + /// the sender part, use [`ClientboundPlayerChat::message`]. #[must_use] pub fn content(&self) -> FormattedText { self.unsigned_content |
