We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0fefbe commit 9746a8dCopy full SHA for 9746a8d
src/repl.rs
@@ -67,16 +67,16 @@ pub fn repl() {
67
for line in stdin.lock().lines() {
68
let line = line.unwrap();
69
input_buffer.push_str(&line);
70
- let mut remaining_input = remaining_input_buffer.as_str();
+ let mut remaining_input = input_buffer.as_str();
71
loop {
72
let next_read_parse = reader::try_read(remaining_input);
73
match next_read_parse {
74
- Ok((_remaining_input_bytes, value)) => {
+ Ok((_remaining_input, value)) => {
75
print!(
76
"{} ",
77
value.eval(Rc::clone(&environment)).to_string_explicit()
78
);
79
- remaining_input_bytes = _remaining_input_bytes;
+ remaining_input = _remaining_input;
80
}
81
Err(Incomplete(_)) => {
82
break;
0 commit comments