Skip to content

Commit

Permalink
Merge pull request #756 from saimen/fix-diffstat-doc-typo
Browse files Browse the repository at this point in the history
Fix `DiffStats` doc typo
  • Loading branch information
ehuss committed Oct 6, 2021
2 parents 8e6660f + 37f581a commit 4348694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diff.rs
Expand Up @@ -1170,7 +1170,7 @@ impl<'a> std::fmt::Debug for DiffHunk<'a> {
}

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

0 comments on commit 4348694

Please sign in to comment.