[std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior

This commit is contained in:
Simon Sapin
2013-12-23 16:20:52 +01:00
parent aa66b91767
commit bada25e425
43 changed files with 128 additions and 133 deletions

View File

@@ -511,7 +511,7 @@ impl Printer {
debug!("print End -> pop End");
let print_stack = &mut self.print_stack;
assert!((print_stack.len() != 0u));
print_stack.pop();
print_stack.pop().unwrap();
}
Break(b) => {
let top = self.get_top();