StructTypes.jl
StructTypes.jl copied to clipboard
Update documentation of StructTypes.defaults
Make example in docstring return a NamedTuple.
I was very confused and did not get my defaults to work until I noticed that defaults(::Type{T}) where {T} returns a NamedTuple.