From 0fd9c77c5cab13ae9ccc467187d94f8e507b9c34 Mon Sep 17 00:00:00 2001 From: OBJNULL Date: Fri, 18 Apr 2025 15:57:03 -0400 Subject: [PATCH] Fixed typo for debit --- project/src/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/src/parser.rs b/project/src/parser.rs index 2dadcb9..6e36c62 100644 --- a/project/src/parser.rs +++ b/project/src/parser.rs @@ -124,7 +124,7 @@ impl Parser { // Switching based on Mode match self.mode { ParserModes::None => self.none(line), - ParserModes::Debit => self.transaction(ParserModes::Credit, line), + ParserModes::Debit => self.transaction(ParserModes::Debit, line), ParserModes::Credit => self.transaction(ParserModes::Credit, line), } }