Our readingWhat is a korrent?
Examples in documentation should be compiled and run as tests, so that changing the code breaks the docs instead of quietly outdating them.
Drawn from what Alice Ryhl said
Subjectdocumentation
Our readingWhat is a korrent?
Drawn from what Alice Ryhl said
Now the thing is you can of course write examples in your documentation and Rust makes all examples into tests. This means that if you change the underlying code now your test fails. And so this means that you can't even you can't forget to update your examples in your documentation.
Where this was said
Watch from 0:10:12 plays here↗Why Rust is different, with Alice Ryhlyoutube.com
All 23 korrents from this recordingthis one is 4th
Added to korrents 7 Sept 2026 · How quotes work · Something wrong? Tell us
Do you hold this korrent?Do you also believe this?
I hold this tooShared subject first, then similar wording. They may agree or disagree.