Skip to content

Commit

Permalink
Fix double "the" in aliasing.md
Browse files Browse the repository at this point in the history
  • Loading branch information
msarris authored Dec 31, 2018
1 parent bc9c1db commit f7dfdfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/aliasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ In the previous example, we used the fact that `&mut u32` can't be aliased to pr
that writes to `*output` can't possibly affect `*input`. This let us cache `*input`
in a register, eliminating a read.

By caching this read, we knew that the the write in the `> 10` branch couldn't
By caching this read, we knew that the write in the `> 10` branch couldn't
affect whether we take the `> 5` branch, allowing us to also eliminate a
read-modify-write (doubling `*output`) when `*input > 10`.

Expand Down

0 comments on commit f7dfdfb

Please sign in to comment.