Skip to content

Commit

Permalink
Update formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerno committed Jul 28, 2024
1 parent d173d53 commit a502897
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/content/docs/guide/basic-types-and-values.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,12 +187,12 @@ Vector initialization and literals work the same way as arrays, using `{ ... }`

## String literals

Like C, string literals is text enclosed in `" ... "` just like in C. These support
Like C, string literals is 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.

C3 also offers *raw strings* which are enclosed in \` \`.
Inside of a raw string, no escapes are available, and to write a \`, simply double the character:
C3 also offers *raw strings* which are enclosed in `` ` ` ``.
Inside of a raw string, no escapes are available, and to write a `` ` ``, simply double the character:

```c3
char* foo = `C:\foo\bar.dll`;
Expand Down

0 comments on commit a502897

Please sign in to comment.