History

[traversal] first impl based on git-odb::traver

Sebastian Thiel committed 5 years ago

Commit 76a30171 parent dff58a55 files · +103 −6Browse files

Showing the changes to git-object/src/immutable/commit.rs (1 of 5 files). Show all

Unified · Split

git-object/src/immutable/commit.rs+1−0
@@ -188,6 +188,7 @@ pub mod iter { · 187 unmodified lines
188 self.next().and_then(Result::ok).and_then(Token::into_id)188 self.next().and_then(Result::ok).and_then(Token::into_id)
189 }189 }
190 }190 }
191
191 impl<'a> Iter<'a> {192 impl<'a> Iter<'a> {
192 fn next_inner(i: &'a [u8], state: &mut State) -> Result<(&'a [u8], Token<'a>), decode::Error> {193 fn next_inner(i: &'a [u8], state: &mut State) -> Result<(&'a [u8], Token<'a>), decode::Error> {
193 use State::*;194 use State::*;