mirror of
https://github.com/typst/typst
synced 2025-05-13 20:46:23 +08:00
Add explicit notice about unicode minus sign in the str function (#5301)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
83927686d9
commit
6dd05cc17a
@ -131,6 +131,8 @@ impl Str {
|
||||
/// - Integers are formatted in base 10. This can be overridden with the
|
||||
/// optional `base` parameter.
|
||||
/// - Floats are formatted in base 10 and never in exponential notation.
|
||||
/// - Negative integers and floats are formatted with the Unicode minus sign
|
||||
/// ("−" U+2212) instead of the ASCII minus sign ("-" U+002D).
|
||||
/// - From labels the name is extracted.
|
||||
/// - Bytes are decoded as UTF-8.
|
||||
///
|
||||
|
Loading…
x
Reference in New Issue
Block a user