mirror of
https://github.com/Noratrieb/mono-fmt.git
synced 2026-01-14 23:35:05 +01:00
types.
This commit is contained in:
parent
594047c0a1
commit
443d5385df
3 changed files with 40 additions and 6 deletions
|
|
@ -59,7 +59,7 @@ macro_rules! traits {
|
|||
|
||||
impl<T: $trait, O: FmtOpts> Arguments for $name<T, O> {
|
||||
fn fmt<W: Write, OldOpts: FmtOpts>(&self, f: &mut Formatter<W, OldOpts>) -> Result {
|
||||
let mut f = f.with_opts(&self.1);
|
||||
let mut f = f.wrap_with(&self.1);
|
||||
|
||||
<T as $trait>::fmt(&self.0, &mut f)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue