rust/fpnum/src/lib.rs
changeset 14667 6b70c109389f
parent 14664 def1b9870078
child 14701 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)
     };