Not only that, any code examples in rustdoc are treated like tests and get executed during compilation! That ensures that your examples are not obsolete (or at least that they compile).
That is a genuinely great idea.
That is a genuinely great idea.
http://docs.sphinxdocs.com/en/latest/step-3.html#step-3-keep...
maybe one day domains, limits and code/proofs will be a single entity in source
With rust this is built into the default tools installed by rustup.
> https://docs.python.org/2/library/doctest.html
Write doctests in your docstrings, run python -m doctest