Crate non_empty_str

Source
Expand description

Non-empty strings.

Re-exports§

pub use str::Empty;
pub use str::Str;
pub use owned::EmptyOwned;std or alloc
pub use owned::OwnedStr;std or alloc

Modules§

macros
Macros for creating non-empty strings in const contexts.
ownedstd or alloc
Non-empty String.
str
Non-empty str.

Macros§

const_str
Constantly constructs Str from the given string, failing compilation if the string is empty.