-
Notifications
You must be signed in to change notification settings - Fork 395
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add binding for
git_message_trailers
(#749)
* Add binding for `git_message_trailers` * `cargo fmt` * Fix pointer mismatch error Fix error from `cargo run --manifest-path systest/Cargo.toml;`. You can’t just mix and match `*mut` and `*const` like that. * Remove a lot of unnecessary lifetimes Suggested-by: Alex Crichton <[email protected]> See: #749 (comment) * Remove another unnecessary lifetime Suggested-by: Alex Crichton <[email protected]> See: #749 (comment) * Use `Range<usize>` instead of `usize` I love it. Suggested-by: Alex Crichton <[email protected]> See: #749 (comment) * `cargo fmt` * Inline one-off struct Suggested-by: Alex Crichton <[email protected]> See: #749 (comment) * Implement more iterators Also change `to_str_tuple(…)` in order to share more code between two of the iterators. Suggested-by: Alex Crichton <[email protected]> See: #749 (comment) * Undo accidental and unrelated edit * Less explicit lifetimes See: #749 (comment) * Don’t need `std::marker` any more See: #749 (comment) * Correct `len(…)` See: #749 (comment) * Remove unnecessary annotation See: #749 (comment) * Implement `size_hint()` Better than the default implementation. See: #749 (comment) * Split into “bytes” and “string” iterators Support both raw bytes messages as well as normal (UTF-8) messages by making two iterators. See: #749 (comment) * Remove more lifetimes * Docs * `cargo fmt` * Undo accidental and unrelated edit (cherry picked from commit cd4c2db)
- Loading branch information
1 parent
4348694
commit 4461b17
Showing
3 changed files
with
310 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters