Skip to content

Commit e402661

Browse files
authored
Fix up HTML escaping in Reference Cells table (#1021)
1 parent 589f4a1 commit e402661

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/fsharp/language-reference/reference-cells.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@ The following table shows the features that are available on the reference cell.
5656

5757
|Operator, member, or field|Description|Type|Definition|
5858
|--------------------------|-----------|----|----------|
59-
|`!` (dereference operator)|Returns the underlying value.|`'a ref -> 'a`|`let (!) r = r.contents`|
60-
|`:=` (assignment operator)|Changes the underlying value.|`'a ref -> 'a -> unit`|`let (:=) r x = r.contents <- x`|
61-
|`ref` (operator)|Encapsulates a value into a new reference cell.|`'a -> 'a ref`|`let ref x = { contents = x }`|
62-
|`Value` (property)|Gets or sets the underlying value.|`unit -> 'a`|`member x.Value = x.contents`|
59+
|`!` (dereference operator)|Returns the underlying value.|`'a ref -> 'a`|`let (!) r = r.contents`|
60+
|`:=` (assignment operator)|Changes the underlying value.|`'a ref -> 'a -> unit`|`let (:=) r x = r.contents <- x`|
61+
|`ref` (operator)|Encapsulates a value into a new reference cell.|`'a -> 'a ref`|`let ref x = { contents = x }`|
62+
|`Value` (property)|Gets or sets the underlying value.|`unit -> 'a`|`member x.Value = x.contents`|
6363
|`contents` (record field)|Gets or sets the underlying value.|`'a`|`let ref x = { contents = x }`|
6464
There are several ways to access the underlying value. The value returned by the dereference operator (`!`) is not an assignable value. Therefore, if you are modifying the underlying value, you must use the assignment operator (`:=`) instead.
6565

0 commit comments

Comments
 (0)