# HG changeset patch # User alfadur # Date 1548192612 -10800 # Node ID 6b70c109389fd8dd6bdcb28c1f9eff32c1540193 # Parent 95b1b9ea505abbc184c5b55d8558b41aa5b76e3b remove unused macro branches diff -r 95b1b9ea505a -r 6b70c109389f rust/fpnum/src/lib.rs --- a/rust/fpnum/src/lib.rs Tue Jan 22 21:34:13 2019 +0100 +++ b/rust/fpnum/src/lib.rs Wed Jan 23 00:30:12 2019 +0300 @@ -295,15 +295,9 @@ #[macro_export] macro_rules! fp { - (-$n: literal / $d: literal) => { - FPNum::new(-$n, $d) - }; ($n: literal / $d: literal) => { FPNum::new($n, $d) }; - (-$n: literal) => { - FPNum::from(-$n) - }; ($n: literal) => { FPNum::from($n) };