Skip to content

Commit d118337

Browse files
authored
Merge pull request #747 from calmofthestorm/patch-1
Fix doc for `target_type`.
2 parents 94b6240 + 3378997 commit d118337

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tag.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ impl<'repo> Tag<'repo> {
8686
unsafe { Binding::from_raw(raw::git_tag_target_id(&*self.raw)) }
8787
}
8888

89-
/// Get the OID of the tagged object of a tag
89+
/// Get the ObjectType of the tagged object of a tag
9090
pub fn target_type(&self) -> Option<ObjectType> {
9191
unsafe { ObjectType::from_raw(raw::git_tag_target_type(&*self.raw)) }
9292
}

0 commit comments

Comments
 (0)