Skip to content

Conversation

@bbqsrc
Copy link
Contributor

@bbqsrc bbqsrc commented Jul 31, 2018

I checked the documentation for libgit2 and could see no reason these two functions required &mut self. Without this patch it is very practically difficult to iterate through all hunks of a patch, and each line of each hunk, as they rely on the same parent git2::Patch.

@alexcrichton alexcrichton merged commit abe3eaf into rust-lang:master Jul 31, 2018
@alexcrichton
Copy link
Member

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants