Skip to content

Commit 39b3d98

Browse files
authored
Correct file names in comments (#214)
Files were once called s2*.go, but no longer.
1 parent fe10c1d commit 39b3d98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

s2/cap_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ func TestCapRadiusToHeight(t *testing.T) {
281281
{4.0 * s1.Radian, fullHeight},
282282
}
283283
for _, test := range tests {
284-
// float64Eq comes from s2latlng_test.go
284+
// float64Eq comes from latlng_test.go
285285
if got := radiusToHeight(test.got); !float64Eq(got, test.want) {
286286
t.Errorf("radiusToHeight(%v) = %v; want %v", test.got, got, test.want)
287287
}

s2/stuv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import (
4646
// (id)
4747
// A CellID is a 64-bit encoding of a face and a Hilbert curve position
4848
// on that face. The Hilbert curve position implicitly encodes both the
49-
// position of a cell and its subdivision level (see s2cellid.go).
49+
// position of a cell and its subdivision level (see cellid.go).
5050
//
5151
// (face, i, j)
5252
// Leaf-cell coordinates. "i" and "j" are integers in the range

0 commit comments

Comments
 (0)