From 757f943fff9f3ce3a8d2f8d76f22b454226643bf Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 2 Sep 2018 14:05:56 -0700 Subject: [PATCH] [lexer] Oops forgot a return type on Hash::new() --- lexer/src/states/hash.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer/src/states/hash.rs b/lexer/src/states/hash.rs index 2ff45c3..1823bb0 100644 --- a/lexer/src/states/hash.rs +++ b/lexer/src/states/hash.rs @@ -17,7 +17,7 @@ const FALSE: &'static str = "false"; #[derive(Debug)] pub struct BoolSub(String); impl Hash { - pub fn new() { Hash{} } + pub fn new() -> Hash { Hash{} } } impl State for Hash {