Skip to content

Commit 9944d3d

Browse files
iglpdcfredrikekre
authored andcommitted
[DOC] Document Void type (#23324)
Fixes #22806
1 parent ceeb591 commit 9944d3d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

base/docs/basedocs.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,13 @@ DevNull
696696

697697
# doc strings for code in boot.jl and built-ins
698698

699+
"""
700+
Void
701+
702+
A type with no fields that is the type [`nothing`](@ref).
703+
"""
704+
Void
705+
699706
"""
700707
nothing
701708

doc/src/stdlib/base.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ Base.instances
115115
## Special Types
116116

117117
```@docs
118+
Core.Void
118119
Core.Any
119120
Base.Enums.@enum
120121
Core.Union

0 commit comments

Comments
 (0)