From 7397ecc84bf051ec5cd7f0d427fa9023b85180df Mon Sep 17 00:00:00 2001
From: Dane Johnson <daneallenjohnson@protonmail.com>
Date: Mon, 18 Nov 2024 22:15:52 -0600
Subject: [PATCH] Nitpicks

---
 src/emitter.rs | 1 -
 src/main.rs    | 6 +++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/emitter.rs b/src/emitter.rs
index 9f5ff43..3caa9b4 100644
--- a/src/emitter.rs
+++ b/src/emitter.rs
@@ -21,7 +21,6 @@ impl <'a> LexicalContext<'a> {
 	    is_tail: false,
 	}
     }
-    #[allow(dead_code)]
     fn new(parent: &'a LexicalContext<'a>) -> Self {
 	LexicalContext {
 	    parent: Some(parent),
diff --git a/src/main.rs b/src/main.rs
index 0e79a81..0ed6a00 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -16,15 +16,15 @@ struct Cli {
     file: PathBuf,
     #[clap(short, long, help="Emit a parse tree")]
     parse: bool,
-    #[clap(short, long, help="Cross-compile to ECMAScript")]
+    #[clap(short, long, help="Cross compile to ECMAScript")]
     ecmascript: bool,
-    #[clap(long, help="Only run the pre-processor")]
+    #[clap(long, help="Run the preprocessor")]
     preprocess: bool,
 }
 
 fn main() {
     let cli = Cli::parse();
-    let mut file = File::open(&cli.file).expect("Could not read file");
+    let mut file = File::open(&cli.file).expect("Couldn't read file");
     let mut prgm = String::new();
     file.read_to_string(&mut prgm).unwrap();
     if cli.preprocess {