Browse Source

fix try to string in ifmt

Evan Almloff 1 year ago
parent
commit
27f8377ea5
1 changed files with 1 additions and 1 deletions
  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()));