diff --git a/azalea-core/src/bitset.rs b/azalea-core/src/bitset.rs index de9d00f3..ac698fbc 100755 --- a/azalea-core/src/bitset.rs +++ b/azalea-core/src/bitset.rs @@ -174,10 +174,7 @@ impl AzaleaWrite for FixedBitSet { Ok(()) } } -impl Default for FixedBitSet -where - [u8; N.div_ceil(8)]: Sized, -{ +impl Default for FixedBitSet { fn default() -> Self { Self::new() } diff --git a/azalea-core/src/lib.rs b/azalea-core/src/lib.rs index 1596a673..acfb560e 100755 --- a/azalea-core/src/lib.rs +++ b/azalea-core/src/lib.rs @@ -1,7 +1,6 @@ #![doc = include_str!("../README.md")] #![feature(trait_upcasting)] #![allow(incomplete_features)] -#![feature(generic_const_exprs)] pub mod aabb; pub mod bitset; diff --git a/azalea-inventory/src/slot.rs b/azalea-inventory/src/slot.rs index 568ca441..f541c54d 100644 --- a/azalea-inventory/src/slot.rs +++ b/azalea-inventory/src/slot.rs @@ -172,6 +172,10 @@ impl AzaleaWrite for ItemStack { } } +/// An update to an item's data components. +/// +/// Note that in vanilla items come with their own set of default components, +/// and Azalea does not implement that yet. #[derive(Default)] pub struct DataComponentPatch { components: HashMap>>,