-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Char * String and Char * Char #22532
Changes from 1 commit
c20972c
c6dec74
7ce7e1a
7313f5d
c377c83
f9dd68c
7d557d2
df56a8f
2fbec25
a1577a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,9 +56,12 @@ sizeof(s::AbstractString) = error("type $(typeof(s)) has no canonical binary rep | |
eltype(::Type{<:AbstractString}) = Char | ||
|
||
""" | ||
*(s::Union{Char, AbstractString}, t::Union{Char, AbstractString}...) | ||
*(s::Union{AbstractString, Char}, t::Union{AbstractString, Char}) | ||
|
||
Concatenate strings and characters. The `*` operator is an alias to this function. | ||
Concatenate strings and/or characters, producing a [`String`](@ref). This is equivalent | ||
to calling the [`string`](@ref) function on the arguments. | ||
|
||
# Examples | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. delete the blank line There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I thought we had been putting lines between the headers and contents in docstring? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I guess not. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. recently moving towards getting rid of them everywhere There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. K, thanks for the heads up |
||
```jldoctest | ||
julia> "Hello " * "world" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why where the three dots removed?