aboutsummaryrefslogtreecommitdiff
path: root/azalea-nbt/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-04-22 18:23:29 +0000
committermat <github@matdoes.dev>2022-04-22 18:23:29 +0000
commitb03d3da65937aebcba1cb38573d02267e49bfe19 (patch)
treeac8b3e9d039bdf5a3522b3977f59b64e90999f5d /azalea-nbt/src
parent99652200aa2840e9a3075f238d9eb001aadb7e80 (diff)
downloadazalea-drasl-b03d3da65937aebcba1cb38573d02267e49bfe19.tar.xz
inline reading in nbt decoding
Diffstat (limited to 'azalea-nbt/src')
-rwxr-xr-xazalea-nbt/src/decode.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-nbt/src/decode.rs b/azalea-nbt/src/decode.rs
index e4968811..3e2f7adb 100755
--- a/azalea-nbt/src/decode.rs
+++ b/azalea-nbt/src/decode.rs
@@ -21,6 +21,7 @@ where
}
impl Tag {
+ #[inline]
#[async_recursion]
async fn read_known<R>(stream: &mut R, id: u8) -> Result<Tag, Error>
where