Skip to content

Commit 3e40438

Browse files
committed
Fix two comments
1 parent 9f49dd3 commit 3e40438

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gix-diff/src/blob/platform.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ pub mod prepare_diff {
243243
/// Use it in [`Platform::prepare_diff_command`](super::Platform::prepare_diff_command()) to easily prepare a compatible invocation.
244244
command: &'a BStr,
245245
},
246-
/// One of the involved resources, [`old`](Outcome::old) or [`new`](Outcome::new), were binary and thus no diff
247-
/// cannot be performed.
246+
/// One of the involved resources, [`old`](Outcome::old) or [`new`](Outcome::new), was binary and thus no diff
247+
/// can be performed.
248248
SourceOrDestinationIsBinary,
249249
}
250250

tests/it/src/args.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ pub enum Subcommands {
159159
/// platforms (at least Windows) do not have such permissions, but Git still represents them.
160160
///
161161
/// This currently only checks files name with an `.sh` suffix, and only operates on the
162-
/// current repository. Its main use is checking that fixture scripts are have correct modes.
162+
/// current repository. Its main use is checking that fixture scripts have correct modes.
163163
#[clap(visible_alias = "cm")]
164164
CheckMode {},
165165
/// Print environment variables as `NAME=value` lines.

0 commit comments

Comments
 (0)