From df07d65c05b8cd892a44f00a6bd58ef7314a5d5c Mon Sep 17 00:00:00 2001 From: Wildan Mubarok Date: Sun, 19 Apr 2026 13:56:27 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: bjorn3 <4397-bjorn3@users.noreply.gitlab.redox-os.org> --- src/scheme/sys/context.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scheme/sys/context.rs b/src/scheme/sys/context.rs index 62b2b25b08..f5b42f5b96 100644 --- a/src/scheme/sys/context.rs +++ b/src/scheme/sys/context.rs @@ -47,7 +47,7 @@ pub fn resource(token: &mut CleanLockToken) -> Result> { context::memory::Provider::Allocated { .. } => { private_memory += info.page_count() * crate::memory::PAGE_SIZE } - // Excluded because it is not allocable by user, whether if + // Excluded because it is not allocable by user, whether // this region is counted toward usable memory remain unknown context::memory::Provider::PhysBorrowed { .. } => {} _ => shared_memory += info.page_count() * crate::memory::PAGE_SIZE,