rust/fpnum/src/lib.rs
changeset 14688 6b70c109389f
parent 14685 def1b9870078
child 14722 5e2c892b0222
--- 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)
     };