consistent

This commit is contained in:
Mark McGranaghan 2012-10-26 07:33:45 -07:00
parent 623da5d093
commit 3ead9c1397

View File

@ -53,8 +53,9 @@ func main() {
s := square{width: 3, height: 4} s := square{width: 3, height: 4}
c := circle{radius: 5} c := circle{radius: 5}
// The `circle` and `square` struct types both satisfy // The `circle` and `square` struct types both
// the `geometry` interface so we can use instances of // implement the `geometry` interface so we can use
// instances of
// these structs as arguments to `measure. // these structs as arguments to `measure.
measure(s) measure(s)
measure(c) measure(c)