mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
doc: fix 'specifing' typo (#14768)
This commit is contained in:
parent
f2962c34dd
commit
df239b9208
@ -616,7 +616,7 @@ Also note: in most cases, it's best to leave the format type empty. Floats will
|
||||
default as `g`, integers will be rendered by default as `d`, and `s` is almost always redundant.
|
||||
There are only three cases where specifying a type is recommended:
|
||||
|
||||
- format strings are parsed at compile time, so specifing a type can help detect errors then
|
||||
- format strings are parsed at compile time, so specifying a type can help detect errors then
|
||||
- format strings default to using lowercase letters for hex digits and the `e` in exponents. Use a
|
||||
uppercase type to force the use of uppercase hex digits and an uppercase `E` in exponents.
|
||||
- format strings are the most convenient way to get hex, binary or octal strings from an integer.
|
||||
|
Loading…
Reference in New Issue
Block a user