Skip to content

Commit 3c50f09

Browse files
committed
Update readme
1 parent b2238d9 commit 3c50f09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func (l HexLayout) FromPixel(pixel geom.Point[float64]) (Q, R float64) {
3939
}
4040
```
4141

42-
It also provide packages for type aliases ([`ints`](./types/ints) for `int` and [`floats`](./types/floats) for `float64`).
42+
It also provide packages for type aliases ([`ints`](./types/ints/types.go) for `int` and [`floats`](./types/floats/types.go) for `float64`).
4343

4444
```go
4545
import (
@@ -69,7 +69,7 @@ type Number interface {
6969

7070
### Constructors
7171

72-
All types have exported fields and can be created directly (`geom.Point[int]{X: 1, Y: 2}`), but there are also shortcut constructors (`geom.Pt(1, 2)`).
72+
All types have exported fields and can be created directly (`geom.Point[int]{X: 1, Y: 2}`), but there are also shorthand constructors (`geom.Pt(1, 2)`).
7373

7474
```go
7575
func Pt[T Number](x, y T) Point[T]

0 commit comments

Comments
 (0)