From 2418d68631f6e338251f2d988de2d3fde206982b Mon Sep 17 00:00:00 2001 From: nic-gaffney Date: Tue, 18 Apr 2023 14:30:14 -0500 Subject: Ran cargo-fmt again :) --- crates/sloth/src/main.rs | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/crates/sloth/src/main.rs b/crates/sloth/src/main.rs index 8fad9a7..ef27570 100644 --- a/crates/sloth/src/main.rs +++ b/crates/sloth/src/main.rs @@ -11,8 +11,8 @@ pub mod lexer; pub mod parser; use std::collections::HashMap; -use std::{env, fs}; +// use std::{env, fs}; use itertools::Itertools; use lexer::Lexer; use parser::AstParser; @@ -35,21 +35,21 @@ fn main() { // println!("Error while reading '{source_path}'"); // return; // }; - let source = " 3 + 7 ;"; - let source = r#" - - fn hello() -> int { - return 3 + 7; - } + // let source = " 3 + 7 ;"; + // let source = r#" - hello(); - hello(); - hello(); - hello(); - hello(); - hello(); - - "#; + // fn hello() -> int { + // return 3 + 7; + // } + + // hello(); + // hello(); + // hello(); + // hello(); + // hello(); + // hello(); + + // "#; let source = r#" fn hello() -> int { -- cgit v1.2.3