Source file src/internal/runtime/maps/runtime_noswiss.go
1 // Copyright 2024 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 5 //go:build !goexperiment.swissmap 6 7 package maps 8 9 import ( 10 "internal/abi" 11 "unsafe" 12 ) 13 14 // For testing, we don't ever need key errors. 15 func mapKeyError(typ *abi.SwissMapType, p unsafe.Pointer) error { 16 return nil 17 } 18