norace.go 260 B

12345678910111213
  1. // Copyright 2015 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. //go:build !race
  5. package race
  6. func ReadSlice[T any](s []T) {
  7. }
  8. func WriteSlice[T any](s []T) {
  9. }