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/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'azalea-protocol/src/lib.rs') diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index dfff7da7..dc170e06 100644 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -40,7 +40,7 @@ mod tests { #[tokio::test] async fn test_hello_packet() { let packet = ServerboundHello { - name: "test".to_string(), + name: "test".to_owned(), profile_id: Uuid::nil(), }; let mut stream = Vec::new(); @@ -70,7 +70,7 @@ mod tests { #[tokio::test] async fn test_double_hello_packet() { let packet = ServerboundHello { - name: "test".to_string(), + name: "test".to_owned(), profile_id: Uuid::nil(), } .into_variant(); -- cgit v1.2.3