mirror of
https://github.com/mat-1/azalea.git
synced 2025-08-02 06:16:04 +00:00
remove the generic_const_exprs feature since it's unused and to make the rust compiler devs happy
This commit is contained in:
parent
f4a1869a7d
commit
23932003d9
3 changed files with 5 additions and 5 deletions
|
@ -174,10 +174,7 @@ impl<const N: usize> AzaleaWrite for FixedBitSet<N> {
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl<const N: usize> Default for FixedBitSet<N>
|
impl<const N: usize> Default for FixedBitSet<N> {
|
||||||
where
|
|
||||||
[u8; N.div_ceil(8)]: Sized,
|
|
||||||
{
|
|
||||||
fn default() -> Self {
|
fn default() -> Self {
|
||||||
Self::new()
|
Self::new()
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
#![doc = include_str!("../README.md")]
|
#![doc = include_str!("../README.md")]
|
||||||
#![feature(trait_upcasting)]
|
#![feature(trait_upcasting)]
|
||||||
#![allow(incomplete_features)]
|
#![allow(incomplete_features)]
|
||||||
#![feature(generic_const_exprs)]
|
|
||||||
|
|
||||||
pub mod aabb;
|
pub mod aabb;
|
||||||
pub mod bitset;
|
pub mod bitset;
|
||||||
|
|
|
@ -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)]
|
#[derive(Default)]
|
||||||
pub struct DataComponentPatch {
|
pub struct DataComponentPatch {
|
||||||
components: HashMap<DataComponentKind, Option<Box<dyn components::EncodableDataComponent>>>,
|
components: HashMap<DataComponentKind, Option<Box<dyn components::EncodableDataComponent>>>,
|
||||||
|
|
Loading…
Add table
Reference in a new issue