1
0
mirror of https://github.com/IBM/fp-go.git synced 2025-08-10 22:31:32 +02:00

fix: string format of pair.pairString() (#113)

Signed-off-by: lixin <lixin@dustess.com>
Co-authored-by: lixin <lixin@dustess.com>
This commit is contained in:
李鑫
2024-05-21 03:48:24 +08:00
committed by GitHub
parent 89bda4f500
commit 9c7a5bb24b

View File

@@ -36,7 +36,7 @@ type (
//
// go:noinline
func pairString(s *pair) string {
return fmt.Sprintf("Pair[%T, %t](%v, %v)", s.h, s.t, s.h, s.t)
return fmt.Sprintf("Pair[%T, %T](%v, %v)", s.h, s.t, s.h, s.t)
}
// Format prints some debug info for the object