aboutsummaryrefslogtreecommitdiff
path: root/azalea-chat/src/style.rs
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2024-07-05 00:45:45 -0500
committerGitHub <noreply@github.com>2024-07-05 00:45:45 -0500
commitea64fba7f655b9afa03d57e8590c16e024f396f3 (patch)
tree728293b8cc852bf6b50a55594589a3b93b96c286 /azalea-chat/src/style.rs
parent350e32d0a9f21103e271e80e63daa5711a78e1d7 (diff)
downloadazalea-drasl-ea64fba7f655b9afa03d57e8590c16e024f396f3.tar.xz
upgrade to simdnbt 0.6 (#160)
Diffstat (limited to 'azalea-chat/src/style.rs')
-rwxr-xr-xazalea-chat/src/style.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/azalea-chat/src/style.rs b/azalea-chat/src/style.rs
index e04c1925..a8cf5935 100755
--- a/azalea-chat/src/style.rs
+++ b/azalea-chat/src/style.rs
@@ -581,7 +581,7 @@ impl Style {
#[cfg(feature = "simdnbt")]
impl simdnbt::Deserialize for Style {
fn from_compound(
- compound: &simdnbt::borrow::NbtCompound,
+ compound: simdnbt::borrow::NbtCompound,
) -> Result<Self, simdnbt::DeserializeError> {
let bold = compound.byte("bold").map(|v| v != 0);
let italic = compound.byte("italic").map(|v| v != 0);