[std::vec] Rename .pop_opt() to .pop(), drop the old .pop() behavior
This commit is contained in:
parent
aa66b91767
commit
bada25e425
43 changed files with 128 additions and 133 deletions
|
@ -253,7 +253,7 @@ impl<'a> AstBuilder for ExtCtxt<'a> {
|
|||
lifetimes: OptVec<ast::Lifetime>,
|
||||
types: ~[P<ast::Ty>])
|
||||
-> ast::Path {
|
||||
let last_identifier = idents.pop();
|
||||
let last_identifier = idents.pop().unwrap();
|
||||
let mut segments: ~[ast::PathSegment] = idents.move_iter()
|
||||
.map(|ident| {
|
||||
ast::PathSegment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue