`Nothing` wrong documentation

julia> typeof(nothing)
Nothing

julia> typeof(Nothing)
DataType

help?> Nothing
search: Nothing nothing

  Nothing

  A type with no fields that is the type nothing.

I guess, for the docs of Nothing, it should read:

A type with no fields with the singleton instance nothing.

or simply:

A type with no fields that is the type of nothing.

2 Likes

Please consider making a PR, or at least opening an issue. Documentation PRs are particularly easy to make.

2 Likes

Yes, please make a PR! Relevant line to update is julia/basedocs.jl at a2a1506b6e4174e4dc2489b04dece3b7d66c973d · JuliaLang/julia · GitHub

2 Likes

thanks.

will do … (need to learn GitHub :persevere:)

Thanks for tackling this. I think that learning about git (& Github) is an investment that really pays off if you are using Julia.

4 Likes