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/lib.rs | |
| parent | 918214e8ba4eae65daf5d2da17aa0022f2ae5212 (diff) | |
| download | azalea-drasl-ca70e5e321a3c174c53d0650feed84db471ac30d.tar.xz | |
enable str_to_string clippy lint
Diffstat (limited to 'azalea-protocol/src/lib.rs')
| -rw-r--r-- | azalea-protocol/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |
