Data update
This commit is contained in:
parent
81fd053722
commit
52a6ef48dd
10248 changed files with 63654 additions and 6775 deletions
|
|
@ -1,12 +0,0 @@
|
|||
fn main() {
|
||||
let mut stack = Vec::new();
|
||||
stack.push("Element1");
|
||||
stack.push("Element2");
|
||||
stack.push("Element3");
|
||||
|
||||
assert_eq!(Some(&"Element3"), stack.last());
|
||||
assert_eq!(Some("Element3"), stack.pop());
|
||||
assert_eq!(Some("Element2"), stack.pop());
|
||||
assert_eq!(Some("Element1"), stack.pop());
|
||||
assert_eq!(None, stack.pop());
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue