diff --git a/src/libcore/iter/adapters/chain.rs b/src/libcore/iter/adapters/chain.rs index c9612596b1ba0..016fa411bb360 100644 --- a/src/libcore/iter/adapters/chain.rs +++ b/src/libcore/iter/adapters/chain.rs @@ -54,7 +54,6 @@ impl Iterator for Chain where { type Item = A::Item; - #[inline] fn next(&mut self) -> Option { match self.state { ChainState::Both => match self.a.next() { @@ -117,7 +116,6 @@ impl Iterator for Chain where accum } - #[inline] fn nth(&mut self, mut n: usize) -> Option { match self.state { ChainState::Both | ChainState::Front => { @@ -157,7 +155,6 @@ impl Iterator for Chain where } } - #[inline] fn last(self) -> Option { match self.state { ChainState::Both => { @@ -198,7 +195,6 @@ impl DoubleEndedIterator for Chain where A: DoubleEndedIterator, B: DoubleEndedIterator, { - #[inline] fn next_back(&mut self) -> Option { match self.state { ChainState::Both => match self.b.next_back() { @@ -213,7 +209,6 @@ impl DoubleEndedIterator for Chain where } } - #[inline] fn nth_back(&mut self, mut n: usize) -> Option { match self.state { ChainState::Both | ChainState::Back => {