2 API 设计基础

API 设计基础 — Comprehensive Rust

译文 · 基于 Comprehensive Rust

原文链接: https://google.github.io/comprehensive-rust/idiomatic/foundations-api-design.html

2 API 设计基础

本小节约需 3 小时 15 分钟。内容包括:

内容时长
API 设计基础2 分钟
有意义的文档注释1 小时 25 分钟
可预测的 API1 小时 50 分钟

2.1 有意义的文档注释

有意义的文档注释 — Comprehensive Rust

2.2 可预测的 API

可预测的 API — Comprehensive Rust

最后修改 August 11, 2026: 更新 (70a5af133)