diff --git a/src/machine.rs b/src/machine.rs index f6eac7e..5fae20c 100644 --- a/src/machine.rs +++ b/src/machine.rs @@ -31,8 +31,8 @@ pub struct Machine { #[cfg(feature = "bonus:heap")] pub heap: Heap, - pub stream_in: Box, - pub stream_out: Rc>, + pub stream_in: Box, + pub stream_out: Rc>, } @@ -148,11 +148,11 @@ impl Machine { Ok(self.block.read_u8()? as usize) } - pub fn set_input(&mut self, instream: Box) { + pub fn set_input(&mut self, instream: Box) { self.stream_in = instream; } - pub fn set_output(&mut self, outstream: Rc>) { + pub fn set_output(&mut self, outstream: Rc>) { self.stream_out = outstream; } } \ No newline at end of file