From b63f2e40756a2ddd5d2677afff331081f0b9494f Mon Sep 17 00:00:00 2001 From: griffi-gh Date: Wed, 15 Feb 2023 22:08:48 +0100 Subject: [PATCH] inline descriptor --- kubi-shared/src/block.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/kubi-shared/src/block.rs b/kubi-shared/src/block.rs index e4e5324..6851554 100644 --- a/kubi-shared/src/block.rs +++ b/kubi-shared/src/block.rs @@ -35,6 +35,7 @@ pub trait BlockDescriptorSource { fn descriptor(self) -> BlockDescriptor; } impl BlockDescriptorSource for Block { + #[inline] fn descriptor(self) -> BlockDescriptor { match self { Self::Air => BlockDescriptor {