Skip to content

Commit

Permalink
Allow char as a fragment in format_ident
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 30, 2020
1 parent 53c2e79 commit fb6516a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ident_fragment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,5 +68,5 @@ macro_rules! ident_fragment_display {
}
}

ident_fragment_display!(bool, str, String);
ident_fragment_display!(bool, str, String, char);
ident_fragment_display!(u8, u16, u32, u64, u128, usize);

0 comments on commit fb6516a

Please sign in to comment.