Skip to content

Commit 4348694

Browse files
authored
Merge pull request #756 from saimen/fix-diffstat-doc-typo
Fix `DiffStats` doc typo
2 parents 8e6660f + 37f581a commit 4348694

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diff.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ impl<'a> std::fmt::Debug for DiffHunk<'a> {
11701170
}
11711171

11721172
impl DiffStats {
1173-
/// Get the total number of files chaned in a diff.
1173+
/// Get the total number of files changed in a diff.
11741174
pub fn files_changed(&self) -> usize {
11751175
unsafe { raw::git_diff_stats_files_changed(&*self.raw) as usize }
11761176
}

0 commit comments

Comments
 (0)