diff options
Diffstat (limited to 'azalea-protocol/src')
| -rw-r--r-- | azalea-protocol/src/lib.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/c_container_set_content.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/c_server_links.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/c_set_entity_data.rs | 4 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/c_set_player_team.rs | 2 | ||||
| -rw-r--r-- | azalea-protocol/src/packets/game/c_sound.rs | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/azalea-protocol/src/lib.rs b/azalea-protocol/src/lib.rs index e0304979..7ac8756e 100644 --- a/azalea-protocol/src/lib.rs +++ b/azalea-protocol/src/lib.rs @@ -197,7 +197,7 @@ mod tests { let buf = compression_encoder(&buf, compression_threshold).unwrap(); - println!("{:?}", buf); + println!("{buf:?}"); compression_decoder(&mut Cursor::new(&buf), compression_threshold).unwrap(); } 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); |
