Skip to content

Commit 816ab24

Browse files
authored
Update pattern-matching.md
1 parent c422506 commit 816ab24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/pattern-matching.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ julia> @capture(ex, struct T_ fields__ end)
3737
true
3838

3939
julia> T, fields
40-
(:Foo, [:(x::Int), :y])
40+
(:Foo, Any[:(x::Int), :y])
4141
```
4242

4343
Symbols like `T_` underscore are treated as catchalls which match any

0 commit comments

Comments
 (0)