We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4c1a45 commit 2b1379aCopy full SHA for 2b1379a
contents/stacks_and_queues/code/rust/Stack.rs
@@ -39,7 +39,7 @@ fn main() {
39
i32stack.push(5);
40
i32stack.push(6);
41
42
- println!("{:?}", i32stack.pop().unwrap());
43
- println!("{:?}", i32stack.size());
44
- println!("{:?}", i32stack.top().unwrap());
+ println!("{:?}", i32stack.pop().unwrap()); // 6
+ println!("{:?}", i32stack.size()); // 2
+ println!("{:?}", i32stack.top().unwrap()); // 5
45
}
0 commit comments