docs: add researched authoring handbook and portable validation

This commit is contained in:
2026-10-07 22:25:41 +08:00
parent a33f80903c
commit 941942c7e1
58 changed files with 2268 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
# SRC-05 W3Schools:Rust Arrays
来源:[W3Schools:Rust Arrays](https://www.w3schools.com/rust/rust_arrays.php)。类别:第三方主题教程。核查日期:2026-10-07。
## 可核查的页面做法
定位:创建、索引、修改、长度、循环、固定与动态大小。
- 围绕同一结构安排一组基本操作。
- 在取值与修改处说明条件,并对比固定与动态结构。
## 作用分析
操作顺序形成可跟随路径;条件与边界在相关动作旁出现。
这是根据页面结构作出的分析,不是原作者承诺或用户测试结论。
## Endorphin 的应用
围绕 Product 与定价串联声明、访问和调用;把不合法使用与相关规则放在一起。
## 借鉴边界
不能把数组、mut 或 vectors 的语义移植到语言设计;错误例子必须进一步说明属于 Preflight 还是 inflight。
## 对应规则
- [DOC-011](../rules/DOC-011.md)
- [DOC-012](../rules/DOC-012.md)
- [DOC-014](../rules/DOC-014.md)
[来源目录](sources.md) · [分析总览](synthesis.md) · [手册入口](../README.md)