diff options
| author | mat <git@matdoes.dev> | 2024-12-11 05:39:23 +0000 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2024-12-11 05:39:23 +0000 |
| commit | 23932003d98db0f5f976146aa9a11e5d04a74695 (patch) | |
| tree | d618cee229906457029e253d50c035a5451fc493 /azalea-core/src | |
| parent | f4a1869a7df0d6311381c99dce5eb243e2d52762 (diff) | |
| download | azalea-drasl-23932003d98db0f5f976146aa9a11e5d04a74695.tar.xz | |
remove the generic_const_exprs feature since it's unused and to make the rust compiler devs happy
Diffstat (limited to 'azalea-core/src')
| -rwxr-xr-x | azalea-core/src/bitset.rs | 5 | ||||
| -rwxr-xr-x | azalea-core/src/lib.rs | 1 |
2 files changed, 1 insertions, 5 deletions
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<const N: usize> AzaleaWrite for FixedBitSet<N> { Ok(()) } } -impl<const N: usize> Default for FixedBitSet<N> -where - [u8; N.div_ceil(8)]: Sized, -{ +impl<const N: usize> Default for FixedBitSet<N> { 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; |
