File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/spirv-std/macros/src Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -613,11 +613,11 @@ fn debug_printf_inner(input: DebugPrintfInput) -> TokenStream {
613613 . into_iter ( )
614614 . collect :: < proc_macro2:: TokenStream > ( ) ;
615615 let op_loads = op_loads. into_iter ( ) . collect :: < proc_macro2:: TokenStream > ( ) ;
616- // Escapes the '{' and '}' characters in the format string.
616+ // Escapes the '{' and '}' characters in the format string.
617617 // Since the `asm!` macro expects '{' '}' to surround its arguments, we have to use '{{' and '}}' instead.
618618 // The `asm!` macro will then later turn them back into '{' and '}'.
619- let format_string = format_string. replace ( '{' , "{{" ) . replace ( '}' , "}}" ) ;
620-
619+ let format_string = format_string. replace ( '{' , "{{" ) . replace ( '}' , "}}" ) ;
620+
621621 let op_string = format ! ( "%string = OpString {format_string:?}" ) ;
622622
623623 let output = quote:: quote! {
You can’t perform that action at this time.
0 commit comments