From c3a624ed9d4163dfab0e3b1b295a705e4cbf4860 Mon Sep 17 00:00:00 2001 From: GZTime Date: Mon, 19 Feb 2024 16:14:01 +0800 Subject: [PATCH] fix(lab/3): remove using_count --- src/0x03/pkg/kernel/src/proc/paging.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/0x03/pkg/kernel/src/proc/paging.rs b/src/0x03/pkg/kernel/src/proc/paging.rs index bd4ef5a..0e359c0 100644 --- a/src/0x03/pkg/kernel/src/proc/paging.rs +++ b/src/0x03/pkg/kernel/src/proc/paging.rs @@ -75,7 +75,6 @@ impl PageTableContext { impl core::fmt::Debug for PageTableContext { fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { f.debug_struct("PageTable") - .field("ref", &self.using_count()) .field("addr", &self.reg.addr) .field("flags", &self.reg.flags) .finish()