Skip to content

Commit b5d4cf7

Browse files
committed
chore: Fix typo in code comments
1 parent acafc23 commit b5d4cf7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/bin/git-warp-time.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ enum Error {
2525
UnableToFormPath {},
2626
}
2727

28-
// CLI errors are reported using the Debug trait, but Snafu sets up the Display tait. So we
29-
// deligate. c.f. https://github.com/shepmaster/snafu/issues/110
28+
// Clap CLI errors are reported using the Debug trait, but Snafu sets up the Display trait.
29+
// So we delegate. c.f. https://github.com/shepmaster/snafu/issues/110
3030
impl std::fmt::Debug for Error {
3131
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
3232
std::fmt::Display::fmt(self, fmt)

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ pub enum Error {
3838
UnresolvedError {},
3939
}
4040

41-
// CLI errors are reported using the Debug trait, but Snafu sets up the Display tait. So we
42-
// deligate. c.f. https://github.com/shepmaster/snafu/issues/110
41+
// Clap CLI errors are reported using the Debug trait, but Snafu sets up the Display trait.
42+
// So we delegate. c.f. https://github.com/shepmaster/snafu/issues/110
4343
impl std::fmt::Debug for Error {
4444
fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result {
4545
std::fmt::Display::fmt(self, fmt)

0 commit comments

Comments
 (0)