diff --git a/src/std_misc/threads.md b/src/std_misc/threads.md index 7a9b2cf22d..2f37d1c4a3 100644 --- a/src/std_misc/threads.md +++ b/src/std_misc/threads.md @@ -6,7 +6,7 @@ function, the argument of this function is a moving closure. ```rust,editable use std::thread; -static NTHREADS: i32 = 10; +const NTHREADS: u32 = 10; // This is the `main` thread fn main() {