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
48
48
[ Unicode code point] ( https://en.wikipedia.org/wiki/Code_point ) . (Julia packages may define
49
49
other subtypes of ` AbstractChar ` , e.g. to optimize operations for other
50
50
[ 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) :
52
52
53
53
``` jldoctest
54
54
julia> c = 'x'
@@ -156,7 +156,7 @@ julia> 'A' + 1
156
156
157
157
## String Basics
158
158
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) :
160
160
161
161
``` jldoctest helloworldstring
162
162
julia> str = "Hello, world.\n"
You can’t perform that action at this time.
0 commit comments