Skip to content

Commit 0c19481

Browse files
committed
修复状态获取逻辑中的引用问题
1 parent 2e1fb68 commit 0c19481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/arch/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl VmOps for Vm {
5858
}
5959

6060
fn status(&self) -> Status {
61-
(&(&self.state).unwrap()).into()
61+
(&self.state).as_ref().unwrap().into()
6262
}
6363
}
6464

0 commit comments

Comments
 (0)