diff options
| author | mat <git@matdoes.dev> | 2025-12-11 23:21:42 -1030 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-11 23:21:42 -1030 |
| commit | ca70e5e321a3c174c53d0650feed84db471ac30d (patch) | |
| tree | 43042fa40c2f3d7f30ea56e1ee84c59dcb13be66 /azalea-protocol/src/packets/game/c_system_chat.rs | |
| parent | 918214e8ba4eae65daf5d2da17aa0022f2ae5212 (diff) | |
| download | azalea-drasl-ca70e5e321a3c174c53d0650feed84db471ac30d.tar.xz | |
enable str_to_string clippy lint
Diffstat (limited to 'azalea-protocol/src/packets/game/c_system_chat.rs')
| -rw-r--r-- | azalea-protocol/src/packets/game/c_system_chat.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/azalea-protocol/src/packets/game/c_system_chat.rs b/azalea-protocol/src/packets/game/c_system_chat.rs index c57c0df0..6ad67ccd 100644 --- a/azalea-protocol/src/packets/game/c_system_chat.rs +++ b/azalea-protocol/src/packets/game/c_system_chat.rs @@ -26,7 +26,7 @@ mod tests { let packet = ClientboundSystemChat::azalea_read(&mut Cursor::new(&bytes)).unwrap(); assert_eq!( packet.content.to_string(), - "[py5: Gave 1 [Diamond Pickaxe] to py5]".to_string() + "[py5: Gave 1 [Diamond Pickaxe] to py5]".to_owned() ); } @@ -39,7 +39,7 @@ mod tests { let packet = ClientboundSystemChat::azalea_read(&mut Cursor::new(&bytes)).unwrap(); assert_eq!( packet.content.to_string(), - "Displaying particle minecraft:dust".to_string() + "Displaying particle minecraft:dust".to_owned() ); } @@ -53,7 +53,7 @@ mod tests { assert_eq!( packet.content.to_string().trim(), - "Position in queue: 328\nYou can purchase priority queue status to join the server faster, visit shop.2b2t.org".to_string() + "Position in queue: 328\nYou can purchase priority queue status to join the server faster, visit shop.2b2t.org".to_owned() ); } |
