aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2023-05-05 17:15:49 +0000
committermat <github@matdoes.dev>2023-05-05 17:15:49 +0000
commitdf167a5a391ef2a9bf2290a24d99ef8f559d9084 (patch)
tree94085ec610bdeafb76db5fd1abbf6449e55f06b2 /azalea-inventory/src
parent3702b2cb2117b586c41a79d2f74864a99c144bdf (diff)
downloadazalea-drasl-df167a5a391ef2a9bf2290a24d99ef8f559d9084.tar.xz
fix some warnings
Diffstat (limited to 'azalea-inventory/src')
-rw-r--r--azalea-inventory/src/item/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/azalea-inventory/src/item/mod.rs b/azalea-inventory/src/item/mod.rs
index 07e51363..0ad7b2c0 100644
--- a/azalea-inventory/src/item/mod.rs
+++ b/azalea-inventory/src/item/mod.rs
@@ -3,6 +3,8 @@ pub trait MaxStackSizeExt {
///
/// This is a signed integer to be consistent with the `count` field of
/// [`ItemSlotData`].
+ ///
+ /// [`ItemSlotData`]: crate::ItemSlotData
fn max_stack_size(&self) -> i8;
/// Whether this item can be stacked with other items.