docs: 添加 Rustdoc 注释

This commit is contained in:
2026-08-05 21:46:47 +08:00
parent 7c8f19f61a
commit 263fd255b6
158 changed files with 1440 additions and 15 deletions
+1
View File
@@ -59,6 +59,7 @@ pub struct IRFunction {
}
impl IRFunction {
/// 构造空 IRFunction:全域置空/置零,等价于 Default。
pub fn new() -> Self {
Self {
insts: Vec::new(),