1
Fork 0

[std::vec] Rename .shift_opt() to .shift(), drop the old .shift() behavior

This commit is contained in:
Simon Sapin 2013-12-23 16:40:42 +01:00
parent bada25e425
commit b5e65731c0
9 changed files with 16 additions and 31 deletions

View file

@ -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()
}
}