From 9fb92f30a6883988fb4dee0833eb2f7d30370a9d Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Thu, 18 Jul 2024 11:25:23 -0700 Subject: [PATCH] Fix trailing comma in head doctest --- packages/core-macro/tests/rsx/trailing-comma-0.stderr | 3 ++- packages/html/src/document/head.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/core-macro/tests/rsx/trailing-comma-0.stderr b/packages/core-macro/tests/rsx/trailing-comma-0.stderr index 5b316b477..f7909cd04 100644 --- a/packages/core-macro/tests/rsx/trailing-comma-0.stderr +++ b/packages/core-macro/tests/rsx/trailing-comma-0.stderr @@ -1,6 +1,7 @@ error: Attributes must be separated by commas - = help: Did you forget a comma? --> tests/rsx/trailing-comma-0.rs:9:13 | 9 | class: "foo bar" | ^^^^^ + | + = help: Did you forget a comma? diff --git a/packages/html/src/document/head.rs b/packages/html/src/document/head.rs index 1d5766fca..52ad68a8f 100644 --- a/packages/html/src/document/head.rs +++ b/packages/html/src/document/head.rs @@ -324,7 +324,7 @@ impl StyleProps { /// body {{ /// background-color: red; /// }} -/// "#, +/// "# /// } /// } /// }