1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

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 cjihrig
parent 00dfda43a9
commit f9c81a03ac
No known key found for this signature in database
GPG key ID: 7434390BDBE9B9C5

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();