From 45e56eccbed3161dd9de547c6c2dcf618114a484 Mon Sep 17 00:00:00 2001 From: Joseph Crail Date: Sun, 8 Jun 2014 13:22:49 -0400 Subject: Fix spelling errors in comments. --- src/libstd/rt/thread.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libstd/rt/thread.rs') diff --git a/src/libstd/rt/thread.rs b/src/libstd/rt/thread.rs index 81dcf909706..5a077e511c0 100644 --- a/src/libstd/rt/thread.rs +++ b/src/libstd/rt/thread.rs @@ -243,7 +243,7 @@ mod imp { // EINVAL means |stack_size| is either too small or not a // multiple of the system page size. Because it's definitely // >= PTHREAD_STACK_MIN, it must be an alignment issue. - // Round up to the neareast page and try again. + // Round up to the nearest page and try again. let page_size = os::page_size(); let stack_size = (stack_size + page_size - 1) & (-(page_size - 1) - 1); assert_eq!(pthread_attr_setstacksize(&mut attr, stack_size as libc::size_t), 0); -- cgit 1.4.1-3-g733a5