refactor: update comment in diff.rs (#15142)

Github -> GitHub
This commit is contained in:
Ikko Ashimine 2022-07-11 11:49:18 +09:00 committed by GitHub
parent e5489446d5
commit d70ba324fe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,7 +6,7 @@ use std::fmt::Write as _;
/// Print diff of the same file_path, before and after formatting.
///
/// Diff format is loosely based on Github diff formatting.
/// Diff format is loosely based on GitHub diff formatting.
pub fn diff(orig_text: &str, edit_text: &str) -> String {
if orig_text == edit_text {
return String::new();