Skip to content

Commit 29caafd

Browse files
committed
docs(codegen): format table in doc comment (#27839)
Docs-only change. Format a table in doc comment, to make it more readable.
1 parent 3de03c1 commit 29caafd

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎crates/oxc_codegen/src/cjs_module_lexer.rs‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
//!
1919
//! The four positions we currently preserve, all `minify`-only:
2020
//!
21-
//! | Helper | Pattern |
22-
//! | --------------------------------- | ------------------------------------------------------ |
23-
//! | [`try_print_require_call`] | `require("…")` |
24-
//! | [`try_print_define_property_call`] | `Object.defineProperty(_, "name", …)` / `Reflect.…` |
25-
//! | [`try_print_exports_computed_target`] | `exports[STR] = …` / `module.exports[STR] = …` |
26-
//! | [`try_print_equality_string`] | `key === "default"` / `key === "__esModule"` (and `==`/`!=`/`!==`) |
21+
//! | Helper | Pattern |
22+
//! | ------------------------------------- | ---------------------------------------------------------------------- |
23+
//! | [`try_print_require_call`] | `require("...")` |
24+
//! | [`try_print_define_property_call`] | `Object.defineProperty(_, "name", ...)` / `Reflect....` |
25+
//! | [`try_print_exports_computed_target`] | `exports[STR] = ...` / `module.exports[STR] = ...` |
26+
//! | [`try_print_equality_string`] | `key === "default"` / `key === "__esModule"` (and `==` / `!=` / `!==`) |
2727
//!
2828
//! Each helper returns `true` if it printed the construct, so the caller can
2929
//! fall back to the default print path when the helper declines.

0 commit comments

Comments
 (0)