Skip to content

Commit 22c47dd

Browse files
committed
Fix a typo on aliasing
1 parent 5eb69fa commit 22c47dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aliasing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ These optimizations also tend to prove the soundness of bigger optimizations
8888
such as loop vectorization, constant propagation, and dead code elimination.
8989

9090
In the previous example, we used the fact that `&mut u32` can't be aliased to prove
91-
that writes to `*output` can't possibly affect `*input`. This let us cache `*input`
91+
that writes to `*output` can't possibly affect `*input`. This lets us cache `*input`
9292
in a register, eliminating a read.
9393

9494
By caching this read, we knew that the write in the `> 10` branch couldn't

0 commit comments

Comments
 (0)