Skip to content

Commit 412134b

Browse files
committed
fix: serialize_json type bug
1 parent c3fd541 commit 412134b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

float-pigment-css/tests/serde.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn for_each_serialize_format(s: &str, mut f: impl FnMut(StyleSheetGroup)) {
2222
let mut ssg = StyleSheetGroup::new();
2323
let buf = compile_style_sheet_to_json("", s);
2424
let mut resource = StyleSheetResource::new();
25-
resource.add_json("", buf);
25+
resource.add_json("", &buf);
2626
ssg.append_from_resource(&resource, "", None);
2727
f(ssg);
2828
}

0 commit comments

Comments
 (0)