Skip to content

Commit

Permalink
Fix typo in expect message
Browse files Browse the repository at this point in the history
  • Loading branch information
tyilo authored and nagisa committed Aug 27, 2024
1 parent 6059c7b commit 9f8cf8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f8cf8f

Please sign in to comment.