Skip to content

Commit d32d712

Browse files
committed
format
1 parent 8eb9405 commit d32d712

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

crates/valence_protocol/src/item.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::io::Write;
22

3-
pub use valence_generated::item::ItemKind;
4-
use valence_nbt::{Compound, compound, List};
53
use uuid::Uuid;
4+
pub use valence_generated::item::ItemKind;
5+
use valence_nbt::{compound, Compound, List};
66

77
use crate::{Decode, Encode};
88

@@ -45,7 +45,10 @@ impl ItemStack {
4545
}
4646

4747
#[must_use]
48-
pub fn with_playerhead_texture_value(mut self, texture_value: impl Into<String>) -> Result<Self, ()> {
48+
pub fn with_playerhead_texture_value(
49+
mut self,
50+
texture_value: impl Into<String>,
51+
) -> Result<Self, ()> {
4952
if self.item != ItemKind::PlayerHead {
5053
return Err(());
5154
}

0 commit comments

Comments
 (0)