diff --git a/chip8_core/src/stack.rs b/chip8_core/src/stack.rs index 72c8ffd..ca02295 100644 --- a/chip8_core/src/stack.rs +++ b/chip8_core/src/stack.rs @@ -23,7 +23,7 @@ impl Stack { self.storage.pop() } - // + /// Returns the top element from the stack without removing it. pub fn peek(&self) -> Option<&T> { self.storage.last() }