Skip to content

Commit

Permalink
typos: constrains
Browse files Browse the repository at this point in the history
  • Loading branch information
rurban authored and aep committed Feb 5, 2020
1 parent 46558b2 commit 5a63197
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/taint/src/main.zz
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn close(Socket mut* self)
where isopen(*self)
model !isopen(*self)
{
//convince the symbolic executor that we did something, so we can have new constrains
//convince the symbolic executor that we did something, so we can have new constraints
*self = Socket{fd: 0};
static_attest(isopen(*self) == false);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/mustfail/typestate_wrong_order/src/main.zz
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn close(Socket mut* self)
where isopen(*self)
model !isopen(*self)
{
//convince the symbolic executor that we did something, so we can have new constrains
//convince the symbolic executor that we did something, so we can have new constraints
*self = Socket{.fd = 0};
static_attest(isopen(*self) == false);
}
Expand Down
2 changes: 1 addition & 1 deletion tests/mustpass/typestate/src/main.zz
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fn close(Socket mut* self)
where isopen(*self)
model !isopen(*self)
{
//convince the symbolic executor that we did something, so we can have new constrains
//convince the symbolic executor that we did something, so we can have new constraints
*self = Socket{fd : 0};
static_attest(isopen(*self) == false);
}
Expand Down

0 comments on commit 5a63197

Please sign in to comment.