From 6943a15229df0c042d7cfc93c0f8ae2c64d02976 Mon Sep 17 00:00:00 2001 From: TheMhv Date: Tue, 27 Aug 2024 19:06:48 -0300 Subject: [PATCH 1/2] Fix: docs/native-numbers markdown correction --- docs/native-numbers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/native-numbers.md b/docs/native-numbers.md index cd88e3a26..c8caaa608 100644 --- a/docs/native-numbers.md +++ b/docs/native-numbers.md @@ -27,12 +27,12 @@ Positive numbers _must_ be written with a `+` sign, otherwise they'll be interpr Numbers can also be written in binary or hexadecimal form. Underscores can be optionally used as digit separators to make large numbers more readable. -````rs +```rs decimal = 1194684 binary = 0b100_100_011_101_010_111_100 hexadecimal = 0x123_abc hex_signed = -0xbeef - +``` ### F24 From d3792d1fec27f7394a8d5d5c7067beb0dd765d05 Mon Sep 17 00:00:00 2001 From: TheMhv Date: Tue, 27 Aug 2024 19:10:16 -0300 Subject: [PATCH 2/2] Fix: docs/native-numbers markdown correction --- docs/native-numbers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/native-numbers.md b/docs/native-numbers.md index c8caaa608..8bdc95e2a 100644 --- a/docs/native-numbers.md +++ b/docs/native-numbers.md @@ -45,7 +45,7 @@ pi = +3.1415926535897932384626433 # Will get rounded to 24bit float a_millionth = 0.000001 zero = 0.0 minus_zero = -0.0 -```` +``` ### Mixing number types