Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/rsx/src/ifmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ impl ToTokens for IfmtInput {
// If the segments are not complex exprs, we can just use format! directly to take advantage of RA rename/expansion
if self.is_simple_expr() {
let raw = &self.source;
return quote_spanned! { raw.span() => ::std::format!(#raw) }.to_tokens(tokens);
return quote! { ::std::format!(#raw) }.to_tokens(tokens);
}

// build format_literal
Expand Down
Loading