Skip to content

Commit

Permalink
doc: add more examples of char
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-jerry-ye committed Jul 5, 2024
1 parent f82945c commit c07a191
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,8 @@ Variables used for string interpolation must support the `to_string` method.
let a : Char = 'A'
let b = '\x41'
let c = '🐰'
let zero = '\u{30}'
let zero = '\u0030'
```

### Byte
Expand Down
2 changes: 2 additions & 0 deletions zh-docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ fn init {
let a : Char = 'A'
let b = '\x41'
let c = '🐰'
let zero = '\u{30}'
let zero = '\u0030'
```

### 字节
Expand Down

0 comments on commit c07a191

Please sign in to comment.