refactor: 移除 SuspendedFrame 已无必要的 dead_code 豁免

This commit is contained in:
爱特每羊队
2026-08-10 14:28:09 +08:00
parent cc21c20a53
commit bc6ec10aef
-1
View File
@@ -42,7 +42,6 @@ pub(crate) struct SuspendedFrame {
pub pending_completion: Option<Completion>,
}
#[allow(dead_code)] // 接入 generator/async/asyncgen 前先落地(Step 3-5 逐步移除)
impl SuspendedFrame {
/// 全空帧(New 阶段构造状态盒时用)。
pub fn new_empty() -> Self { SuspendedFrame {