Skip to content

Commit

Permalink
fix print docstring (#28609)
Browse files Browse the repository at this point in the history
  • Loading branch information
bkamins authored and ararslan committed Aug 13, 2018
1 parent decee65 commit 2fcad41
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base/strings/io.jl
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ of values `xs` if there is one, otherwise call [`show`](@ref).
The representation used by `print` includes minimal formatting and tries to
avoid Julia-specific details.
Printing `nothing` is deprecated and will throw an error in the future.
Printing `nothing` is not allowed and throws an error.
# Examples
```jldoctest
Expand Down Expand Up @@ -132,7 +132,7 @@ string_with_env(env, xs...) = print_to_string(xs...; env=env)
"""
string(xs...)
Create a string from any values using the [`print`](@ref) function.
Create a string from any values, except `nothing`, using the [`print`](@ref) function.
# Examples
```jldoctest
Expand Down

1 comment on commit 2fcad41

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily benchmark build, I will reply here when finished:

@nanosoldier runbenchmarks(ALL, isdaily = true)

Please sign in to comment.