Explorar o código

fix try to string in ifmt

Evan Almloff hai 1 ano
pai
achega
27f8377ea5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/rsx/src/ifmt.rs

+ 1 - 1
packages/rsx/src/ifmt.rs

@@ -86,7 +86,7 @@ impl IfmtInput {
                         match single_dynamic {
                             Some(current_string) => {
                                 single_dynamic =
-                                    Some(quote!(#current_string + &segment.to_string()));
+                                    Some(quote!(#current_string + &#segment.to_string()));
                             }
                             None => {
                                 single_dynamic = Some(quote!(#segment.to_string()));