Skip to content

Commit

Permalink
docs(ast): correct documentation for JSXExpression::EmptyExpression
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Jan 31, 2025
1 parent 02903a4 commit 90a2999
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_ast/src/ast/jsx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,8 @@ pub enum JSXExpression<'a> {
///
/// ## Example
/// ```tsx
/// <Foo bar={} />
/// // ^^
/// <Foo>{}</Foo>
/// // ^^
/// ```
EmptyExpression(JSXEmptyExpression) = 64,
// `Expression` variants added here by `inherit_variants!` macro
Expand Down

0 comments on commit 90a2999

Please sign in to comment.