Skip to content

Commit

Permalink
Update docstring for string(xs...) (#37131)
Browse files Browse the repository at this point in the history
ref #32148
string(nothing) is allowed because print(nothing) is allowed
  • Loading branch information
MarcMush authored Aug 20, 2020
1 parent bcbb000 commit ec63d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/strings/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ end
"""
string(xs...)
Create a string from any values, except `nothing`, using the [`print`](@ref) function.
Create a string from any values using the [`print`](@ref) function.
`string` should usually not be defined directly. Instead, define a method
`print(io::IO, x::MyType)`. If `string(x)` for a certain type needs to be
Expand Down

0 comments on commit ec63d88

Please sign in to comment.