diff --git a/crates/oxc_ast/src/serialize.rs b/crates/oxc_ast/src/serialize.rs index b7177a79a69b2..466e42cc5a033 100644 --- a/crates/oxc_ast/src/serialize.rs +++ b/crates/oxc_ast/src/serialize.rs @@ -227,7 +227,7 @@ impl ESTree for NullLiteralRaw<'_> { /// Serializer for `value` field of `StringLiteral`. /// -/// Handle when `lossy` flag is set, indicating the string contains lone surrogates. +/// Handle when `lone_surrogates` flag is set, indicating the string contains lone surrogates. #[ast_meta] #[estree( ts_type = "string",