diff options
Diffstat (limited to 'users/tazjin/rlox/src/main.rs')
-rw-r--r-- | users/tazjin/rlox/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/users/tazjin/rlox/src/main.rs b/users/tazjin/rlox/src/main.rs index b14ed97d5eda..2e0d692dba08 100644 --- a/users/tazjin/rlox/src/main.rs +++ b/users/tazjin/rlox/src/main.rs @@ -38,5 +38,6 @@ fn run_prompt() { .read_line(&mut line) .expect("failed to read user input"); interpreter::run(&line); + line.clear(); } } |