From ca70e5e321a3c174c53d0650feed84db471ac30d Mon Sep 17 00:00:00 2001 From: mat Date: Thu, 11 Dec 2025 23:21:42 -1030 Subject: enable str_to_string clippy lint --- azalea-protocol/src/packets/game/c_player_chat.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'azalea-protocol/src/packets/game/c_player_chat.rs') diff --git a/azalea-protocol/src/packets/game/c_player_chat.rs b/azalea-protocol/src/packets/game/c_player_chat.rs index 3904d0d9..41e457a2 100644 --- a/azalea-protocol/src/packets/game/c_player_chat.rs +++ b/azalea-protocol/src/packets/game/c_player_chat.rs @@ -162,7 +162,7 @@ impl ClientboundPlayerChat { // TODO: implement chat type registry and apply the styles from it here let translation_key = self.chat_type.translation_key(registries); - let component = TranslatableComponent::new(translation_key.to_string(), args); + let component = TranslatableComponent::new(translation_key.to_owned(), args); FormattedText::Translatable(component) } -- cgit v1.2.3