Skip to content

Commit

Permalink
Update links from golang.org -> go.dev
Browse files Browse the repository at this point in the history
  • Loading branch information
cespare committed Dec 2, 2022
1 parent 9b384c6 commit bbc4786
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xxhash_unsafe.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion xxhash_unsafe_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{
Expand Down

0 comments on commit bbc4786

Please sign in to comment.