Available on
doc
or test
only.Expand description
§static_assertions
modifications
(↑) This is derived work from the
static_assertions
crate,
including the following modifications:
- merge the multiple
const_assert*
macros into a singleconst_assert!
. - rename the
to_bool
macro toconst_bool
, and simplify. - rename the
ToBool
trait toConstBool
, as well as its inner items. - update syntax to 2021 edition.