docs: 添加 Rustdoc 注释

This commit is contained in:
爱特每羊队
2026-08-05 21:46:47 +08:00
parent bbdfca1a1c
commit f461235f04
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(),