From 37b1c5a9137df96a96f8e59e66b452e8cf28ba7b Mon Sep 17 00:00:00 2001 From: Petr Onderka Date: Thu, 22 Nov 2018 19:53:55 +0100 Subject: [PATCH] Corrected invalid syntax --- docs/fsharp/style-guide/formatting.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" ```