[std::vec] Rename .shift_opt() to .shift(), drop the old .shift() behavior
This commit is contained in:
parent
bada25e425
commit
b5e65731c0
9 changed files with 16 additions and 31 deletions
|
@ -370,7 +370,7 @@ mod test {
|
|||
|
||||
impl Reader for ShortReader {
|
||||
fn read(&mut self, _: &mut [u8]) -> Option<uint> {
|
||||
self.lengths.shift_opt()
|
||||
self.lengths.shift()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue