From c43345215af9cad0aeb7673b15c98d756e78b4d8 Mon Sep 17 00:00:00 2001 From: Kirill Leonov Date: Wed, 31 Jan 2024 23:12:21 +0300 Subject: [PATCH] mini bug fix --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/interpreter/mod.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f8d4f8f..a318977 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -758,7 +758,7 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "minicode" -version = "1.4.1" +version = "1.4.2" dependencies = [ "clap", "pretty_assertions", diff --git a/Cargo.toml b/Cargo.toml index e0170d8..c702f57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "minicode" -version = "1.4.1" +version = "1.4.2" authors = ["Kirill Leonov "] edition = "2021" repository = "https://github.com/leonovk/minicode" diff --git a/src/interpreter/mod.rs b/src/interpreter/mod.rs index 4cbeac1..53e96d2 100644 --- a/src/interpreter/mod.rs +++ b/src/interpreter/mod.rs @@ -114,7 +114,7 @@ fn pointer_updater( } _ => Err("error 1".to_string()), }, - Err(_e) => Err("error 2".to_string()), + Err(e) => Err(e), } }