From 3b95b4cbe8e0812d10c50d0de47def07f3c9f99c Mon Sep 17 00:00:00 2001
From: overlookmotel <theoverlookmotel@gmail.com>
Date: Fri, 15 Nov 2024 23:46:30 +0000
Subject: [PATCH] Docs: Correct doc comment

---
 crates/oxc_transformer/src/es2022/class_properties.rs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/crates/oxc_transformer/src/es2022/class_properties.rs b/crates/oxc_transformer/src/es2022/class_properties.rs
index 1f7fe6b37a2ea3..569029e420e0cb 100644
--- a/crates/oxc_transformer/src/es2022/class_properties.rs
+++ b/crates/oxc_transformer/src/es2022/class_properties.rs
@@ -940,7 +940,9 @@ impl<'a, 'ctx> ClassProperties<'a, 'ctx> {
 
     /// Transform private field expression.
     ///
-    /// `this.#x` -> `_classPrivateFieldGet(_x, this)`.
+    /// Instance prop: `this.#prop` -> `_classPrivateFieldGet(_prop, this)`
+    /// Static prop: `this.#prop` -> `_assertClassBrand(Class, this, _prop)`
+    //
     // `#[inline]` so that compiler sees that `expr` is an `Expression::PrivateFieldExpression`.
     #[inline]
     fn transform_private_field_expression(