get rid of bytes_read

This commit is contained in:
Folkert 2022-07-27 21:34:37 +02:00
parent 631c642950
commit da1bcfc8b0
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 3 additions and 25 deletions

View file

@ -30,10 +30,7 @@ pub fn get_values<'a>(
) -> Result<(usize, Vec<Expr<'a>>), ToAstProblem> {
let mut result = Vec::with_capacity(variables.len());
let memory = ExpectMemory {
start,
bytes_read: RefCell::new(0),
};
let memory = ExpectMemory { start };
let app = ExpectReplApp {
memory: arena.alloc(memory),