|
|
|
|
|
by Aliabid94
2282 days ago
|
|
This is something that I’ve felt is going to become very hot - some way of ensuring that documentation never goes stale. In the same vein as tests needing to pass before merging a commit, ensuring documentation is up to date when commiting. Looking forward to hearing more! |
|
So if the API changes, the example code in the documentation will fail to compile.
[1] https://doc.rust-lang.org/rustdoc/documentation-tests.html