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,