Module rewrite

Module rewrite 

Source

Modules§

reformat
Format-preserving code rewriting using rustfmt and line-level diffs

Functions§

inject_module_doc_attr
Injects #![doc = syncdoc::module_doc!()] for module-level documentation
inject_omnidoc_attr
Injects #[omnidoc(path = "...")] attribute into an item’s token stream
rewrite_file
strip_doc_attrs
Strips all doc attributes from a token stream while preserving other attributes
strip_inner_doc_attrs
Strips inner doc attributes from module content