Skip to content

Commit 9c63403

Browse files
fix "mismatched types int and float64" (#76)
1 parent c4c5bb1 commit 9c63403

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ There are no classes, only structs. Structs can have methods.
470470

471471
// Declaration
472472
type Vertex struct {
473-
X, Y int
473+
X, Y float64
474474
}
475475

476476
// Creating

0 commit comments

Comments
 (0)