mirror of
https://github.com/pjh456/OxideJS.git
synced 2026-10-25 03:01:12 +08:00
refactor: 移除 SuspendedFrame 已无必要的 dead_code 豁免
This commit is contained in:
@@ -42,7 +42,6 @@ pub(crate) struct SuspendedFrame {
|
|||||||
pub pending_completion: Option<Completion>,
|
pub pending_completion: Option<Completion>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(dead_code)] // 接入 generator/async/asyncgen 前先落地(Step 3-5 逐步移除)
|
|
||||||
impl SuspendedFrame {
|
impl SuspendedFrame {
|
||||||
/// 全空帧(New 阶段构造状态盒时用)。
|
/// 全空帧(New 阶段构造状态盒时用)。
|
||||||
pub fn new_empty() -> Self { SuspendedFrame {
|
pub fn new_empty() -> Self { SuspendedFrame {
|
||||||
|
|||||||
Reference in New Issue
Block a user