nonempty_containers/
lib.rs

1//! Non-empty containers.
2//!
3//! Non-emptiness is generally a very useful tool, when you need inherent guarantees in code but
4//! want to avoid repeatedly writing the same checks. This module provides non-empty versions of
5//! common container types, such as [Vec].
6
7pub mod nonemptyvec;
8pub use nonemptyvec::NonEmptyVec;
9
10#[cfg(feature = "arbitrary")]
11mod arbitrary;
12
13#[macro_use]
14mod macros;