- Rust Programming Cookbook
- Claus Matzinger
- 72字
- 2021-06-24 12:27:45
Testing your documentation
Out-of-date documentation and examples that aren't working as promised are an unfortunate truth of many technologies. However, these examples can be valuable (black box) regression tests to make sure that we didn't break anything while improving the code, so how can they be used as such? Rust's documentation strings (///) can include executable code snippets—and they can be seen all over the place on https://www.rust-lang.org/learn!
推薦閱讀
- GitLab Cookbook
- Kubernetes實戰(zhàn)
- 編程的修煉
- 構(gòu)建移動網(wǎng)站與APP:HTML 5移動開發(fā)入門與實戰(zhàn)(跨平臺移動開發(fā)叢書)
- 精通軟件性能測試與LoadRunner實戰(zhàn)(第2版)
- MariaDB High Performance
- 名師講壇:Java微服務(wù)架構(gòu)實戰(zhàn)(SpringBoot+SpringCloud+Docker+RabbitMQ)
- The Professional ScrumMaster’s Handbook
- Java網(wǎng)絡(luò)編程實戰(zhàn)
- Access 2010數(shù)據(jù)庫應(yīng)用技術(shù)實驗指導(dǎo)與習(xí)題選解(第2版)
- Learning iOS Security
- SEO教程:搜索引擎優(yōu)化入門與進階(第3版)
- Drupal 8 Development:Beginner's Guide(Second Edition)
- 信息學(xué)競賽寶典:基礎(chǔ)算法
- 嵌入式Linux與物聯(lián)網(wǎng)軟件開發(fā):C語言內(nèi)核深度解析