Skip to content

Commit e77315c

Browse files
committed
chore: Fix typo in code comments
1 parent 031917a commit e77315c

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
@@ -28,8 +28,8 @@ enum Error {
2828
UnableToFormPath {},
2929
}
3030

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

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ pub enum Error {
4141
UnresolvedError {},
4242
}
4343

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

0 commit comments

Comments
 (0)