Allow char as a fragment in format_ident

This commit is contained in:
David Tolnay 2020-04-30 12:02:11 -07:00
parent 53c2e79ddc
commit fb6516a01c
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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);