File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -96,6 +96,8 @@ The value of the expression is determined from the string representation of the
96
96
97
97
* If the radix is not 10, the first two characters are removed from the string.
98
98
99
+ * Any suffix is removed from the string.
100
+
99
101
* Any underscores are removed from the string.
100
102
101
103
* The string is converted to a ` u128 ` value as if by [ ` u128::from_str_radix ` ] with the chosen radix.
@@ -136,6 +138,8 @@ let x: f64 = 2.; // type f64
136
138
137
139
The value of the expression is determined from the string representation of the token as follows:
138
140
141
+ * Any suffix is removed from the string.
142
+
139
143
* Any underscores are removed from the string.
140
144
141
145
* The string is converted to the expression's type as if by [ ` f32::from_str ` ] or [ ` f64::from_str ` ] .
You can’t perform that action at this time.
0 commit comments