From 8d08184104ff966776cf97e54ae9237e589a3bd1 Mon Sep 17 00:00:00 2001 From: Asger Hautop Drewsen Date: Tue, 6 Aug 2024 21:47:45 +0200 Subject: [PATCH] Fix typo in expect message --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index eaef9f1..38045d8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -231,7 +231,7 @@ psm_stack_manipulation! { .expect("unreasonably large stack requested") / page_size; let stack_pages = std::cmp::max(1, requested_pages) + 2; let stack_bytes = stack_pages.checked_mul(page_size) - .expect("unreasonably large stack requesteed"); + .expect("unreasonably large stack requested"); // Next, there are a couple of approaches to how we allocate the new stack. We take the // most obvious path and use `mmap`. We also `mprotect` a guard page into our