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.
const
static
1 parent 19f0a03 commit 363499aCopy full SHA for 363499a
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