aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/lib.rs')
-rw-r--r--azalea-protocol/src/lib.rs4
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();