mirror of
https://github.com/Noratrieb/mono-fmt.git
synced 2026-01-16 16:25:07 +01:00
fmt
This commit is contained in:
parent
505a8f80d5
commit
166b495586
5 changed files with 19 additions and 15 deletions
16
src/lib.rs
16
src/lib.rs
|
|
@ -12,8 +12,7 @@ macro_rules! format_args {
|
|||
};
|
||||
}
|
||||
|
||||
pub use crate::args::Arguments;
|
||||
pub use crate::opts::FmtOpts;
|
||||
pub use crate::{args::Arguments, opts::FmtOpts};
|
||||
|
||||
pub type Result = std::result::Result<(), Error>;
|
||||
|
||||
|
|
@ -118,13 +117,14 @@ pub fn format<A: Arguments>(args: A) -> String {
|
|||
/// Not part of the public API.
|
||||
#[doc(hidden)]
|
||||
mod _private {
|
||||
pub use crate::args::{ConstWidthArg, DebugArg, DisplayArg, Str};
|
||||
|
||||
pub use crate::opts::{
|
||||
WithAlternate, WithCenterAlign, WithFill, WithLeftAlign, WithRightAlign, WithWidth,
|
||||
};
|
||||
|
||||
pub use mono_fmt_macro::__format_args;
|
||||
|
||||
pub use crate::{
|
||||
args::{ConstWidthArg, DebugArg, DisplayArg, Str},
|
||||
opts::{
|
||||
WithAlternate, WithCenterAlign, WithFill, WithLeftAlign, WithRightAlign, WithWidth,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue