We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 19f0a03 + 363499a commit 541be6fCopy full SHA for 541be6f
src/std_misc/threads.md
@@ -6,7 +6,7 @@ function, the argument of this function is a moving closure.
6
```rust,editable
7
use std::thread;
8
9
-static NTHREADS: i32 = 10;
+const NTHREADS: u32 = 10;
10
11
// This is the `main` thread
12
fn main() {
0 commit comments