Skip to content

Commit 3378997

Browse files
Fix doc for target_type.
1 parent 94b6240 commit 3378997

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)