Skip to content

Commit 9f8cf8f

Browse files
tyilonagisa
authored andcommitted
Fix typo in expect message
1 parent 6059c7b commit 9f8cf8f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ psm_stack_manipulation! {
231231
.expect("unreasonably large stack requested") / page_size;
232232
let stack_pages = std::cmp::max(1, requested_pages) + 2;
233233
let stack_bytes = stack_pages.checked_mul(page_size)
234-
.expect("unreasonably large stack requesteed");
234+
.expect("unreasonably large stack requested");
235235

236236
// Next, there are a couple of approaches to how we allocate the new stack. We take the
237237
// most obvious path and use `mmap`. We also `mprotect` a guard page into our

0 commit comments

Comments
 (0)