Fix: clippy, dont throw error on commas (#2869)

* Fix: clippy, hotreload css blocks, raw blocks

* fix test

* okay nevermind
This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-08-20 23:57:56 +00:00
1 parent 5c002686d0
commit 005d52468d
4 files changed
+30 -29

No files matched your search

+1 -1
View File
@@ -65,7 +65,7 @@ impl Parse for HotLiteral {
Lit::Int(a) => HotLiteral::Int(a),
Lit::Bool(a) => HotLiteral::Bool(a),
Lit::Float(a) => HotLiteral::Float(a),
Lit::Str(a) => HotLiteral::Fmted(IfmtInput::new_litstr(a).into()),
Lit::Str(a) => HotLiteral::Fmted(IfmtInput::new_litstr(a)?.into()),
_ => {
return Err(syn::Error::new(
raw.span(),