We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f2ba59 commit 7b07730Copy full SHA for 7b07730
compiler/rustc_ast_pretty/src/pprust/state/expr.rs
@@ -708,10 +708,10 @@ pub fn reconstruct_format_args_template_string(pieces: &[FormatArgsPiece]) -> St
708
}
709
710
if flags >> (rustc_parse_format::FlagDebugLowerHex as usize) & 1 != 0 {
711
- template.push('X');
+ template.push('x');
712
713
if flags >> (rustc_parse_format::FlagDebugUpperHex as usize) & 1 != 0 {
714
- template.push('x');
+ template.push('X');
715
716
template.push_str(match p.format_trait {
717
FormatTrait::Display => "",
0 commit comments