Skip to content

Commit

Permalink
fix: string format of pair.pairString()
Browse files Browse the repository at this point in the history
  • Loading branch information
lixin committed May 20, 2024
1 parent 89bda4f commit 22e3467
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pair/pair.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22e3467

Please sign in to comment.