1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//! Some wrapper types.
//!
//! # Features
//!
//! This module is only exported with the "fmt" feature.

#[cfg(feature = "fmt")]
pub(crate) mod ascii_str;

pub(crate) mod pwrapper;

#[cfg(feature = "fmt")]
pub(crate) mod sliced;

#[cfg(feature = "fmt")]
pub use self::ascii_str::NotAsciiError;

#[doc(no_inline)]
#[cfg(feature = "fmt")]
pub use crate::{AsciiStr, Sliced};

#[doc(no_inline)]
pub use crate::PWrapper;