Skip to content

Commit b00b8c8

Browse files
committed
docs(ast): correct documentation for JSXExpression::EmptyExpression (#8816)
1 parent 256ae78 commit b00b8c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/oxc_ast/src/ast/jsx.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,8 @@ pub enum JSXExpression<'a> {
272272
///
273273
/// ## Example
274274
/// ```tsx
275-
/// <Foo bar={} />
276-
/// // ^^
275+
/// <Foo>{}</Foo>
276+
/// // ^^
277277
/// ```
278278
EmptyExpression(JSXEmptyExpression) = 64,
279279
// `Expression` variants added here by `inherit_variants!` macro

0 commit comments

Comments
 (0)