forked from AbleScript/ablescript
cargo fmt
This commit is contained in:
parent
6dec02c60c
commit
7dfdb35685
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in a new issue