This release allows using functions that use &mut
in const contexts on the latest Rust release (Rust 1.83.0).
Changelog
1.11.0
Added "rust_1_83"
feature, which turns typewit
functions that use &mut
into const fns.
Added these methods to BoolWitG
:
is_true
is_false
to_true
to_false
unwrap_true
unwrap_false
Relaxed Copy + Clone + Debug
impls of BooleanWitG
to work for any <B> BooleanWitG<B>
, instead of requiring <const B: bool> BoolWitG<Bool<B>>
.
1.10.1
Fixed TypeWitnessTypeArg
impl for BoolWitG
, it was overconstrained in a way that made HasTypeWitness<BoolWitG<T>>
not work as a bound.
1.10.0
Added typewit::const_marker::BoolWitG
enum
Replaced typewit::const_marker::BoolWit
enum with type alias to `BoolWitG``
Added Copy + Clone + Debug
impls to BoolWit
Fixed "adt_const_marker"
crate feature