Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe R. Monteiro <[email protected]>
  • Loading branch information
feliperodri committed Jun 27, 2024
1 parent 970203f commit cae0f44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rfc/src/rfcs/0010-quantifiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ fn main() {
}
```

Given the `v` vector has non-deterministic values, there are potential arithmetic overflows that might happen in the for loop. So we need to constrain all values of the array. We may also want to check all values of `rebuilt` after the operation. Without quantifiers, we might be tempt to use loops as follows:
Given the `v` vector has non-deterministic values, there are potential arithmetic overflows that might happen in the for loop. So we need to constrain all values of the array. We may also want to check all values of `rebuilt` after the operation. Without quantifiers, we might be tempted to use loops as follows:

```rust
use std::ptr;
Expand Down Expand Up @@ -161,7 +161,7 @@ fn main() {
// Overwrite memory
for i in 0..len {
*p.add(i) += 1;
if i == 10 {
if i == 1 {
*p.add(i) = 0;
}
}
Expand Down

0 comments on commit cae0f44

Please sign in to comment.