Skip to content

Commit ec63d88

Browse files
authored
Update docstring for string(xs...) (#37131)
ref #32148 string(nothing) is allowed because print(nothing) is allowed
1 parent bcbb000 commit ec63d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/strings/io.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ end
157157
"""
158158
string(xs...)
159159
160-
Create a string from any values, except `nothing`, using the [`print`](@ref) function.
160+
Create a string from any values using the [`print`](@ref) function.
161161
162162
`string` should usually not be defined directly. Instead, define a method
163163
`print(io::IO, x::MyType)`. If `string(x)` for a certain type needs to be

0 commit comments

Comments
 (0)