Skip to content

Commit a26f878

Browse files
committed
Minor Change
1 parent 6aea312 commit a26f878

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pages/annotations/state-refinements.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ f.read(); // State Refinement Error
3939

4040
If a class follows an implicit protocol that can be described by a DFA, the protocol can be encoded in LiquidJava so that methods are enforced to be called in the correct order.
4141

42-
## Syntax
43-
44-
Note that states are functions. These take a single parameter, which is the object being refined, in this case the implicit `this`. All of these are equivalent: `open()`, `this.open()`, and `open(this)`.
42+
{: .note }
43+
States are functions. These take a single parameter, which is the object being refined, in this case the implicit `this` receiver. All of these are equivalent: `open(this)`, `this.open()`, and `open()`.
4544

4645
## State Initialization
4746

0 commit comments

Comments
 (0)