cargo fmt

This commit is contained in:
Alex Bethel 2022-04-02 12:41:59 -06:00
parent 45007e7d2b
commit 19fa04f979
2 changed files with 2 additions and 2 deletions

View file

@ -139,7 +139,7 @@ fn get_string(lexer: &mut Lexer<Token>) -> Option<String> {
lexer.bump(lexer.remainder().find("*/")?);
let string = lexer.slice()[2..].to_owned();
lexer.bump(2);
Some(string)
}

View file

@ -16,7 +16,7 @@ pub fn repl(ast_print: bool) {
Ok(readline) => {
let readline = readline.trim_end();
rl.add_history_entry(readline);
let partial_data = match partial {
Some(line) => line + readline,
None => readline.to_owned(),