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:
@@ -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
|
||||
|
Reference in New Issue
Block a user