Skip to content

Examples on pretty much every public function.#136

Open
Kile-Asmussen wants to merge 26 commits intorootcause-rs:mainfrom
Kile-Asmussen:more-examples
Open

Examples on pretty much every public function.#136
Kile-Asmussen wants to merge 26 commits intorootcause-rs:mainfrom
Kile-Asmussen:more-examples

Conversation

@Kile-Asmussen
Copy link
Copy Markdown
Contributor

I've gone over the codebase with this ripgrep command:

rg -nC1 --no-heading -PUt rust '^(impl.*{| *)\n( *(?!/// ``)///.*\n)+( +#\[.*\]\n)+.*pub[^(].*fn' ./src

which should detect all instances of public functions without examples.

Comment thread src/report_attachment/mut_.rs Outdated
Comment thread src/report_attachment/mut_.rs Outdated
Comment thread src/report_attachment/mut_.rs Outdated
Comment thread src/report_attachment/owned.rs Outdated
Comment thread src/report_attachment/owned.rs Outdated
Comment thread src/report_attachment/ref_.rs Outdated
Comment thread src/report_attachment/ref_.rs
Comment thread src/report_collection/owned.rs Outdated
Comment thread src/report_collection/owned.rs Outdated
Comment thread src/report_collection/owned.rs Outdated
Kile-Asmussen and others added 20 commits March 28, 2026 20:41
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Co-authored-by: Tethys Svensson <freaken@freaken.dk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants