diff --git a/xxhash_unsafe.go b/xxhash_unsafe.go index dfdeaf3..1c1638f 100644 --- a/xxhash_unsafe.go +++ b/xxhash_unsafe.go @@ -12,7 +12,7 @@ import ( // In the future it's possible that compiler optimizations will make these // XxxString functions unnecessary by realizing that calls such as -// Sum64([]byte(s)) don't need to copy s. See https://golang.org/issue/2205. +// Sum64([]byte(s)) don't need to copy s. See https://go.dev/issue/2205. // If that happens, even if we keep these functions they can be replaced with // the trivial safe code. diff --git a/xxhash_unsafe_test.go b/xxhash_unsafe_test.go index cde8bb9..6d6f93c 100644 --- a/xxhash_unsafe_test.go +++ b/xxhash_unsafe_test.go @@ -26,7 +26,7 @@ func TestStringAllocs(t *testing.T) { }) } -// This test is inspired by the Go runtime tests in https://golang.org/cl/57410. +// This test is inspired by the Go runtime tests in https://go.dev/cl/57410. // It asserts that certain important functions may be inlined. func TestInlining(t *testing.T) { funcs := map[string]struct{}{