diff --git a/content/articles/type-system-arithmetic.md b/content/articles/type-system-arithmetic.md index efc1e81..14fe168 100644 --- a/content/articles/type-system-arithmetic.md +++ b/content/articles/type-system-arithmetic.md @@ -229,7 +229,7 @@ impl Sub for (Zero, Zero) { // 0 - 0 = 0 type Diff = Zero; } -impl Sub for (Succ, Zero) { // x = 0 = 0 +impl Sub for (Succ, Zero) { // x - 0 = x type Diff = Succ; }