From 553dc6870e76aa5aebbf30daaf33758bb57b2828 Mon Sep 17 00:00:00 2001 From: Ahurac Date: Mon, 11 Dec 2023 19:53:48 +0100 Subject: [PATCH] Modules : input -> buffer --- src/{input.rs => buffer.rs} | 0 src/main.rs | 5 +++-- 2 files changed, 3 insertions(+), 2 deletions(-) rename src/{input.rs => buffer.rs} (100%) diff --git a/src/input.rs b/src/buffer.rs similarity index 100% rename from src/input.rs rename to src/buffer.rs diff --git a/src/main.rs b/src/main.rs index f1433ee..c063f39 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -mod input; +mod buffer; mod parser; mod job; mod variables; @@ -9,9 +9,10 @@ use std::process::{ exit, }; use variables::Variables; +use buffer::Buffer; fn main() { - let mut buffer = input::Buffer::new(); + let mut buffer = Buffer::new(); let mut bytes_read: usize = 1; let mut exit_status: Option>; let mut exit_code: i32 = 0;