Skip to content

Commit 083a74f

Browse files
committed
TreeUpdateBuilder: Remove confusing note re libgit2 function
It seems obvious from the rest of the docs what to do with a `TreeUpdateBuilder`. The reference to `git_tree_create_updated` is certainloy not helpful since that's a C function. Signed-off-by: Ian Jackson <[email protected]>
1 parent 7d12405 commit 083a74f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub struct RepoBuilder<'cb> {
6464
pub type RemoteCreate<'cb> =
6565
dyn for<'a> FnMut(&'a Repository, &str, &str) -> Result<Remote<'a>, Error> + 'cb;
6666

67-
/// A builder struct for git tree updates, for use with `git_tree_create_updated`.
67+
/// A builder struct for git tree updates.
6868
pub struct TreeUpdateBuilder {
6969
updates: Vec<raw::git_tree_update>,
7070
paths: Vec<CString>,

0 commit comments

Comments
 (0)