docs: 添加 Rustdoc 注释
This commit is contained in:
@@ -59,6 +59,7 @@ pub struct IRFunction {
|
||||
}
|
||||
|
||||
impl IRFunction {
|
||||
/// 构造空 IRFunction:全域置空/置零,等价于 Default。
|
||||
pub fn new() -> Self {
|
||||
Self {
|
||||
insts: Vec::new(),
|
||||
|
||||
Reference in New Issue
Block a user