22 lines
550 B
Rust
Raw Normal View History

2019-09-26 03:09:51 +08:00
#![feature(allow_internal_unstable)]
#![feature(bench_black_box)]
#![feature(extend_one)]
#![feature(let_else)]
#![feature(min_specialization)]
#![feature(new_uninit)]
#![feature(step_trait)]
#![feature(stmt_expr_attributes)]
#![feature(test)]
2019-09-26 03:09:51 +08:00
2019-09-26 03:26:16 +00:00
pub mod bit_set;
pub mod interval;
2019-12-22 17:42:04 -05:00
pub mod vec;
/// Type size assertion. The first argument is a type and the second argument is its expected size.
#[macro_export]
macro_rules! static_assert_size {
($ty:ty, $size:expr) => {
const _: [(); $size] = [(); ::std::mem::size_of::<$ty>()];
};
}