aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game/s_set_jigsaw_block.rs
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-11 23:21:42 -1030
committermat <git@matdoes.dev>2025-12-11 23:21:42 -1030
commitca70e5e321a3c174c53d0650feed84db471ac30d (patch)
tree43042fa40c2f3d7f30ea56e1ee84c59dcb13be66 /azalea-protocol/src/packets/game/s_set_jigsaw_block.rs
parent918214e8ba4eae65daf5d2da17aa0022f2ae5212 (diff)
downloadazalea-drasl-ca70e5e321a3c174c53d0650feed84db471ac30d.tar.xz
enable str_to_string clippy lint
Diffstat (limited to 'azalea-protocol/src/packets/game/s_set_jigsaw_block.rs')
-rw-r--r--azalea-protocol/src/packets/game/s_set_jigsaw_block.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/azalea-protocol/src/packets/game/s_set_jigsaw_block.rs b/azalea-protocol/src/packets/game/s_set_jigsaw_block.rs
index 2203d3e9..64a46c02 100644
--- a/azalea-protocol/src/packets/game/s_set_jigsaw_block.rs
+++ b/azalea-protocol/src/packets/game/s_set_jigsaw_block.rs
@@ -43,8 +43,8 @@ impl AzaleaRead for JointType {
impl AzaleaWrite for JointType {
fn azalea_write(&self, buf: &mut impl Write) -> io::Result<()> {
match self {
- JointType::Rollable => "rollable".to_string().azalea_write(buf)?,
- JointType::Aligned => "aligned".to_string().azalea_write(buf)?,
+ JointType::Rollable => "rollable".to_owned().azalea_write(buf)?,
+ JointType::Aligned => "aligned".to_owned().azalea_write(buf)?,
};
Ok(())
}