From 80f143154fb605b01b84059e54d6597c5bf4949c Mon Sep 17 00:00:00 2001 From: Riccardo Mura <49900772+cowuake@users.noreply.github.com> Date: Sun, 24 Mar 2024 17:13:02 +0000 Subject: [PATCH] Remove unreachable patterns --- schemius/src/core/builtins.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/schemius/src/core/builtins.rs b/schemius/src/core/builtins.rs index 35ef9fc..9295b90 100644 --- a/schemius/src/core/builtins.rs +++ b/schemius/src/core/builtins.rs @@ -669,8 +669,7 @@ macro_rules! fn_compute_sum_prod { } Ok(SExpr::Number(res)) - }, - _ => Err(String::from("???")), + } } } )*} @@ -701,7 +700,6 @@ macro_rules! fn_compute_diff_quot { Ok(SExpr::Number(res)) } - _ => Err(String::from("???")), } } )*}