Rust Docs

Doc comments as API contract — a one-line first sentence, module-level docs, Examples, Errors, Panics and Safety sections, doctests that actually run, and intra-doc links. Use when writing or reviewing rustdoc comments, when a public item is undocumented, when doctests are marked ignore or fail, when magic values appear undocumented, or when the user asks how to document a Rust crate.

rewrite-rs 1a5a284 2 files · 4.9 KB Updated

File contents

rewrite-rs/skills/tree/main/skills/rust/rust-docs commit 1a5a284c5b

Frequently asked questions

npx skillmds@latest add rewrite-rs/rust-docs