From be46099671830302be6270b5158383c2d4cd5b3d Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 4 Aug 2023 12:26:54 -0700 Subject: [PATCH] Removed comment --- src/entry/unix/unix.rs | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/src/entry/unix/unix.rs b/src/entry/unix/unix.rs index 9ba9d03..54f9a8f 100644 --- a/src/entry/unix/unix.rs +++ b/src/entry/unix/unix.rs @@ -63,41 +63,6 @@ fn do_expression( ).unwrap(); return Ok(g_evaluated); - - -/* - Err((l, e)) => { - // Display user input - let s = substitute(&s); - write!( - stdout, "\n{}{}==>{}{} {}\r\n", - style::Bold, color::Fg(color::Red), - style::Reset, color::Fg(color::Reset), - s - ).unwrap(); - - write!( - stdout, "{}{}{}{}{}{}\r\n", - color::Fg(color::Red), - style::Bold, - " ".repeat(l.pos + 4), - "^".repeat(l.len), - color::Fg(color::Reset), - style::Reset, - ).unwrap(); - - write!( - stdout, " {}{}Error: {}{}{}\r\n\n", - style::Bold, - color::Fg(color::Red), - style::Reset, - e.to_string(), - color::Fg(color::Reset), - ).unwrap(); - } - } - } - */ }