Skip to content

Commit 3b85eba

Browse files
Fix typo in pattern matching code example
1 parent b8d2688 commit 3b85eba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/fsharp/language-reference/pattern-matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ let len (str: string | null) =
289289
Similarly, you can use new dedicated nullability related [patterns](./active-patterns.md):
290290

291291
```fsharp
292-
let let str = // str is inferred to be `string | null`
292+
let len str = // str is inferred to be `string | null`
293293
match str with
294294
| Null -> -1
295295
| NonNull (s: string) -> s.Length

0 commit comments

Comments
 (0)