Prechádzať zdrojové kódy

Fix trailing comma in head doctest

Evan Almloff 11 mesiacov pred
rodič
commit
9fb92f30a6

+ 2 - 1
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?

+ 1 - 1
packages/html/src/document/head.rs

@@ -324,7 +324,7 @@ impl StyleProps {
 ///                 body {{
 ///                     background-color: red;
 ///                 }}
-///             "#,
+///             "#
 ///         }
 ///     }
 /// }