docs(codegen): format table in doc comment (#27839)

Docs-only change. Format a table in doc comment, to make it more readable.
This commit is contained in:
overlookmotel committed 2026-10-16 18:54:50 +00:00
1 parent 3de03c1bed
commit 29caafd7bc
1 file changed
+6 -6
+6 -6
View File
@@ -18,12 +18,12 @@
//!
//! The four positions we currently preserve, all `minify`-only:
//!
//! | Helper | Pattern |
//! | --------------------------------- | ------------------------------------------------------ |
//! | [`try_print_require_call`] | `require("…")` |
//! | [`try_print_define_property_call`] | `Object.defineProperty(_, "name", …)` / `Reflect.…` |
//! | [`try_print_exports_computed_target`] | `exports[STR] = …` / `module.exports[STR] = …` |
//! | [`try_print_equality_string`] | `key === "default"` / `key === "__esModule"` (and `==`/`!=`/`!==`) |
//! | Helper | Pattern |
//! | ------------------------------------- | ---------------------------------------------------------------------- |
//! | [`try_print_require_call`] | `require("...")` |
//! | [`try_print_define_property_call`] | `Object.defineProperty(_, "name", ...)` / `Reflect....` |
//! | [`try_print_exports_computed_target`] | `exports[STR] = ...` / `module.exports[STR] = ...` |
//! | [`try_print_equality_string`] | `key === "default"` / `key === "__esModule"` (and `==` / `!=` / `!==`) |
//!
//! Each helper returns `true` if it printed the construct, so the caller can
//! fall back to the default print path when the helper declines.