[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

@ -40,7 +40,7 @@ fn recv(p: &pipe) -> uint {
while state.is_empty() {
cond.wait();
}
state.pop()
state.pop().unwrap()
})
}
}

View file

@ -37,7 +37,7 @@ fn recv(p: &pipe) -> uint {
while state.is_empty() {
cond.wait();
}
state.pop()
state.pop().unwrap()
})
}