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 Feb 1, 2025
1 parent 85abb93 commit 31492f3
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 31492f3

Please sign in to comment.