DEV Community

Discussion on: Rust: Assertions in API doc?

Collapse
 
burdettelamar profile image
Burdette Lamar

Interesting. I've done something similar in a Ruby project (don't remember which one -- I'm 79), by having a Rake task that makes the doc by running examples, then including the code and output into the doc.