aboutsummaryrefslogtreecommitdiff
path: root/azalea-protocol/src/packets/game
diff options
context:
space:
mode:
Diffstat (limited to 'azalea-protocol/src/packets/game')
-rw-r--r--azalea-protocol/src/packets/game/c_container_set_content.rs2
-rw-r--r--azalea-protocol/src/packets/game/c_server_links.rs2
-rw-r--r--azalea-protocol/src/packets/game/c_set_entity_data.rs4
-rw-r--r--azalea-protocol/src/packets/game/c_set_player_team.rs2
-rw-r--r--azalea-protocol/src/packets/game/c_sound.rs2
5 files changed, 6 insertions, 6 deletions
diff --git a/azalea-protocol/src/packets/game/c_container_set_content.rs b/azalea-protocol/src/packets/game/c_container_set_content.rs
index 77ea9ec7..0619eff1 100644
--- a/azalea-protocol/src/packets/game/c_container_set_content.rs
+++ b/azalea-protocol/src/packets/game/c_container_set_content.rs
@@ -29,7 +29,7 @@ mod tests {
];
let mut buf = Cursor::new(contents.as_slice());
let packet = ClientboundContainerSetContent::azalea_read(&mut buf).unwrap();
- println!("{:?}", packet);
+ println!("{packet:?}");
assert_eq!(buf.position(), contents.len() as u64);
diff --git a/azalea-protocol/src/packets/game/c_server_links.rs b/azalea-protocol/src/packets/game/c_server_links.rs
index ac08ec27..e566b64e 100644
--- a/azalea-protocol/src/packets/game/c_server_links.rs
+++ b/azalea-protocol/src/packets/game/c_server_links.rs
@@ -28,7 +28,7 @@ mod tests {
];
let mut buf = Cursor::new(contents.as_slice());
let packet = ClientboundServerLinks::azalea_read(&mut buf).unwrap();
- println!("{:?}", packet);
+ println!("{packet:?}");
assert_eq!(buf.position(), contents.len() as u64);
}
diff --git a/azalea-protocol/src/packets/game/c_set_entity_data.rs b/azalea-protocol/src/packets/game/c_set_entity_data.rs
index a7042417..2691d04b 100644
--- a/azalea-protocol/src/packets/game/c_set_entity_data.rs
+++ b/azalea-protocol/src/packets/game/c_set_entity_data.rs
@@ -23,7 +23,7 @@ mod tests {
let contents = [161, 226, 1, 10, 18, 1, 20, 38, 124, 175, 198, 255];
let mut buf = Cursor::new(contents.as_slice());
let packet = ClientboundSetEntityData::azalea_read(&mut buf).unwrap();
- println!("{:?}", packet);
+ println!("{packet:?}");
assert_eq!(buf.position(), contents.len() as u64);
@@ -44,7 +44,7 @@ mod tests {
];
let mut buf = Cursor::new(contents.as_slice());
let packet = ClientboundSetEntityData::azalea_read(&mut buf).unwrap();
- println!("{:?}", packet);
+ println!("{packet:?}");
assert_eq!(buf.position(), contents.len() as u64);
}
diff --git a/azalea-protocol/src/packets/game/c_set_player_team.rs b/azalea-protocol/src/packets/game/c_set_player_team.rs
index f73835f7..8c195154 100644
--- a/azalea-protocol/src/packets/game/c_set_player_team.rs
+++ b/azalea-protocol/src/packets/game/c_set_player_team.rs
@@ -63,7 +63,7 @@ mod tests {
];
let mut buf = Cursor::new(contents.as_slice());
let packet = ClientboundSetPlayerTeam::azalea_read(&mut buf).unwrap();
- println!("{:?}", packet);
+ println!("{packet:?}");
assert_eq!(buf.position(), contents.len() as u64);
}
diff --git a/azalea-protocol/src/packets/game/c_sound.rs b/azalea-protocol/src/packets/game/c_sound.rs
index 1a54c7c8..bb037e97 100644
--- a/azalea-protocol/src/packets/game/c_sound.rs
+++ b/azalea-protocol/src/packets/game/c_sound.rs
@@ -47,7 +47,7 @@ mod tests {
];
let mut buf = Cursor::new(contents.as_slice());
let packet = ClientboundSound::azalea_read(&mut buf).unwrap();
- println!("{:?}", packet);
+ println!("{packet:?}");
assert_eq!(buf.position(), contents.len() as u64);