docs(ast): correct doc comment for PrivateFieldExpression (#24008)

Fix doc comment. The example wasn't valid code.
This commit is contained in:
overlookmotel committed 2026-07-01 12:29:13 +00:00
1 parent 2e62012a1f
commit 675e6a8a66
1 file changed
+1 -1
+1 -1
View File
@@ -508,7 +508,7 @@ pub struct StaticMemberExpression<'a> {
pub optional: bool, // for optional chaining
}
/// `c.#a` in `class C { #a = 1; }; const c = new C(); c.#a;`
/// `this.#a` in `class C { #a = 1; getA() { return this.#a; } }`
///
/// Represents a private field access expression, which can include an object and a private identifier.
#[ast(visit)]