Skip to content

Commit 0c1fc32

Browse files
committed
Remove unused macro rule
1 parent 8817c6a commit 0c1fc32

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

lexical-parse-float/src/slow.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -295,19 +295,6 @@ macro_rules! add_temporary {
295295
$result.data.add_small($value).unwrap();
296296
};
297297

298-
// # Safety
299-
//
300-
// Safe is `counter <= step`, or smaller than the table size.
301-
($format:ident, $result:ident, $counter:ident, $value:ident) => {
302-
if $counter != 0 {
303-
// SAFETY: safe, since `counter <= step`, or smaller than the table size.
304-
let small_power = unsafe { f64::int_pow_fast_path($counter, $format.radix()) };
305-
add_temporary!(@mul $result, small_power as Limb, $value);
306-
$counter = 0;
307-
$value = 0;
308-
}
309-
};
310-
311298
// Add a temporary where we won't read the counter results internally.
312299
//
313300
// # Safety

0 commit comments

Comments
 (0)