File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ to a numeric value representing a
4848[ Unicode code point] ( https://en.wikipedia.org/wiki/Code_point ) . (Julia packages may define
4949other subtypes of ` AbstractChar ` , e.g. to optimize operations for other
5050[ text encodings] ( https://en.wikipedia.org/wiki/Character_encoding ) .) Here is how ` Char ` values are
51- input and shown:
51+ input and shown (note that character literals are delimited with single quotes, not double quotes) :
5252
5353``` jldoctest
5454julia> c = 'x'
@@ -156,7 +156,7 @@ julia> 'A' + 1
156156
157157## String Basics
158158
159- String literals are delimited by double quotes or triple double quotes:
159+ String literals are delimited by double quotes or triple double quotes (not single quotes) :
160160
161161``` jldoctest helloworldstring
162162julia> str = "Hello, world.\n"
You can’t perform that action at this time.
0 commit comments