Skip to content

Commit

Permalink
Fix typo in basic-types-and-values tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn authored and lerno committed Nov 3, 2024
1 parent c15865d commit 0f0c535
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Vector initialization and literals work the same way as arrays, using `{ ... }`
String literals are special and can convert to several different types:
`String`, `char` and `ichar` arrays and slices and finally `ichar*` and `char*`.

Like C, string literals is text enclosed in `" "` just like in C. These support
String literals are text enclosed in `" "` just like in C. These support
escape sequences like `\n` for line break and need to use `\"` for any `"` inside of the
string.

Expand Down Expand Up @@ -329,4 +329,4 @@ This prints:

```
a: 1234, b: 340193404210632335760508365704335069440, foo: BCD
```
```

0 comments on commit 0f0c535

Please sign in to comment.