Skip to content

Commit e8bf2db

Browse files
authored
Fix inline code (#22796)
1 parent a10546c commit e8bf2db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/csharp/discards.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ The `Deconstruct` method of a class, structure, or interface also allows you to
3434

3535
For more information on deconstructing user-defined types with discards, see [Deconstructing tuples and other types](deconstruct.md#deconstructing-a-user-defined-type-with-discards).
3636

37-
## Pattern matching with `switch
37+
## Pattern matching with `switch`
3838

3939
The *discard pattern* can be used in pattern matching with the [switch](language-reference/keywords/switch.md) keyword. Every expression always matches the discard pattern. (It can be used with [is](language-reference/keywords/is.md) expressions. However, that use is rare because the discard can be removed without changing its meaning).
4040

0 commit comments

Comments
 (0)