Skip to content

Commit a791ea3

Browse files
authored
Merge pull request GitoxideLabs#2583 from tisonkun/patch-1
Improve comment in object/commit.rs
2 parents a0a3acb + a8f7717 commit a791ea3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gix/src/object/commit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ impl<'repo> Commit<'repo> {
101101

102102
/// Decode the commit and obtain the time at which the commit was created.
103103
///
104-
/// For the time at which it was authored, refer to `.decode()?.author()?.time()`.
104+
/// For the time at which it was authored, refer to `.author()?.time()`.
105105
pub fn time(&self) -> Result<gix_date::Time, Error> {
106106
Ok(self.committer()?.time()?)
107107
}

0 commit comments

Comments
 (0)