Writing Comments

How to write inline (//), rustdoc item (///), and module (//!) comments in the compiler-rs codebase, plus JSDoc in the TypeScript wrapper — for contributors reading the source, not end users. Use whenever writing or editing comments in Rust or TypeScript source, including comments added incidentally while fixing a bug or building a feature.

withastro Updated

File contents

withastro/compiler-rs commit 7cc13e6201

Frequently asked questions

npx get-skill add withastro/writing-comments-2