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.
1 parent 0904427 commit c192af3Copy full SHA for c192af3
src/aliasing.md
@@ -118,8 +118,8 @@ fn compute(input: &u32, output: &mut u32) {
118
}
119
```
120
121
-We're still relying on alias analysis to assume that `temp` doesn't alias
122
-`input`, but the proof is much simpler: the value of a local variable can't be
+We're still relying on alias analysis to assume that `input` doesn't alias
+`temp`, but the proof is much simpler: the value of a local variable can't be
123
aliased by things that existed before it was declared. This is an assumption
124
every language freely makes, and so this version of the function could be
125
optimized the way we want in any language.
0 commit comments