diff --git a/docs/fsharp/style-guide/formatting.md b/docs/fsharp/style-guide/formatting.md index 6c8a017fb3536..04bcaf5b23aa9 100644 --- a/docs/fsharp/style-guide/formatting.md +++ b/docs/fsharp/style-guide/formatting.md @@ -405,13 +405,13 @@ Use a `|` for each clause of a match with no indentation. If the expression is s ```fsharp // OK match l with -| { him = x; her = "Posh" } :: tail -> _ +| { him = x; her = "Posh" } :: tail -> x | _ :: tail -> findDavid tail | [] -> failwith "Couldn't find David" // Not OK match l with - | { him = x; her = "Posh" } :: tail -> _ + | { him = x; her = "Posh" } :: tail -> x | _ :: tail -> findDavid tail | [] -> failwith "Couldn't find David" ```