[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
|
|
@ -40,7 +40,7 @@ fn recv(p: &pipe) -> uint {
|
|||
while state.is_empty() {
|
||||
cond.wait();
|
||||
}
|
||||
state.pop()
|
||||
state.pop().unwrap()
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ fn recv(p: &pipe) -> uint {
|
|||
while state.is_empty() {
|
||||
cond.wait();
|
||||
}
|
||||
state.pop()
|
||||
state.pop().unwrap()
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue