diff --git a/README.md b/README.md index bf0e0681..69831ad6 100644 --- a/README.md +++ b/README.md @@ -941,7 +941,7 @@ trait NumberFormat { } } -class DoubleFormat with Format { +class DoubleFormat with NumberFormat { let places: Integer; @@ -954,7 +954,7 @@ class DoubleFormat with Format { } } -class IntegerFormat with Format { +class IntegerFormat with NumberFormat { override round(a: Integer) { return a;