Crate non_empty_str

Source
Expand description

Non-empty strings.

Re-exports§

pub use cow::CowStr;alloc or std
pub use cow::StaticCowStr;alloc or std
pub use empty::Empty;
pub use str::StaticStr;
pub use str::Str;

Modules§

cowalloc or std
Non-empty Cow<'_, str>.
empty
Checking for emptiness.
macros
Macros used for constructing non-empty strings.
str
Non-empty str.

Macros§

const_borrowed_stralloc or std
Similar to const_str, but constructs borrowed CowStr.
const_str
Constructs Str from the given string, panicking if it is empty.