From bbc478633dd7c24a4b0b653b19d2a3f8b9cad045 Mon Sep 17 00:00:00 2001 From: Caleb Spare Date: Thu, 1 Dec 2022 23:34:18 -0800 Subject: [PATCH] Update links from golang.org -> go.dev --- xxhash_unsafe.go | 2 +- xxhash_unsafe_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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{}{