diff --git a/docs/fsharp/language-reference/discriminated-unions.md b/docs/fsharp/language-reference/discriminated-unions.md index 207329f471755..3014cc9ad302f 100644 --- a/docs/fsharp/language-reference/discriminated-unions.md +++ b/docs/fsharp/language-reference/discriminated-unions.md @@ -40,7 +40,7 @@ type Shape = | Prism of width : float * float * height : float ``` -The preceding code declares a discriminated union Shape, which can have values of any of three cases: Rectangle, Circle, and Prism. Each case has a different set of fields. The Rectangle case has two named fields, both of type `float`, that have the names width and length. The Circle case has just one named field, radius. The Prism case has three fields, two of which are named Unnamed fields are referred to as anonymous fields. +The preceding code declares a discriminated union Shape, which can have values of any of three cases: Rectangle, Circle, and Prism. Each case has a different set of fields. The Rectangle case has two named fields, both of type `float`, that have the names width and length. The Circle case has just one named field, radius. The Prism case has three fields, two of which (width and height) are named fields. Unnamed fields are referred to as anonymous fields. You construct objects by providing values for the named and anonymous fields according to the following examples. @@ -117,4 +117,4 @@ Discriminated unions work well if the nodes in the tree are heterogeneous. In th When this code is executed, the value of `result` is 5. ## See Also -[F# Language Reference](index.md) \ No newline at end of file +[F# Language Reference](index.md)