diff options
Diffstat (limited to 'azalea-protocol/src/packets')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_player_chat.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-protocol/src/packets/game/c_player_chat.rs b/azalea-protocol/src/packets/game/c_player_chat.rs index a9a57301..77dce487 100644 --- a/azalea-protocol/src/packets/game/c_player_chat.rs +++ b/azalea-protocol/src/packets/game/c_player_chat.rs @@ -121,7 +121,7 @@ impl ClientboundPlayerChat { } impl ChatTypeBound { - pub fn translation_key<'a>(&'a self) -> &'a str { + pub fn translation_key(&self) -> &str { match &self.chat_type { Holder::Reference(r) => r.chat_translation_key(), Holder::Direct(d) => d.chat.translation_key.as_str(), |
