We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eaa3a92 commit 10d40c5Copy full SHA for 10d40c5
src/checked-uninit.md
@@ -18,7 +18,10 @@ fn main() {
18
```
19
20
This is based off of a basic branch analysis: every branch must assign a value
21
-to `x` before it is first used. Interestingly, Rust doesn't require the variable
+to `x` before it is first used. For short, we also say that "`x` is init" or
22
+"`x` is uninit".
23
+
24
+Interestingly, Rust doesn't require the variable
25
to be mutable to perform a delayed initialization if every branch assigns
26
exactly once. However the analysis does not take advantage of constant analysis
27
or anything like that. So this compiles:
0 commit comments