Document that integers can also be written in hex.
This commit is contained in:
parent
1033e16904
commit
57bc27ef8c
@ -429,7 +429,7 @@ Values are denoted as displayed in the following table.
|
||||
|------------|---------|
|
||||
| `Value::String` | `"abc"`, `""`, `"a\"b\\c"` |
|
||||
| `Value::Boolean` | `true`, `false` |
|
||||
| `Value::Int` | `3`, `-9`, `0`, `135412` |
|
||||
| `Value::Int` | `3`, `-9`, `0`, `135412`, `0xfe02`, `-0x1e` |
|
||||
| `Value::Float` | `3.`, `.35`, `1.00`, `0.5`, `123.554`, `23e4`, `-2e-3`, `3.54e+2` |
|
||||
| `Value::Tuple` | `(3, 55.0, false, ())`, `(1, 2)` |
|
||||
| `Value::Empty` | `()` |
|
||||
|
@ -412,7 +412,7 @@
|
||||
//! |------------|---------|
|
||||
//! | `Value::String` | `"abc"`, `""`, `"a\"b\\c"` |
|
||||
//! | `Value::Boolean` | `true`, `false` |
|
||||
//! | `Value::Int` | `3`, `-9`, `0`, `135412` |
|
||||
//! | `Value::Int` | `3`, `-9`, `0`, `135412`, `0xfe02`, `-0x1e` |
|
||||
//! | `Value::Float` | `3.`, `.35`, `1.00`, `0.5`, `123.554`, `23e4`, `-2e-3`, `3.54e+2` |
|
||||
//! | `Value::Tuple` | `(3, 55.0, false, ())`, `(1, 2)` |
|
||||
//! | `Value::Empty` | `()` |
|
||||
|
Loading…
Reference in New Issue
Block a user