We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a576581 commit 6a4a596Copy full SHA for 6a4a596
src/cmp/cmp_test.go
@@ -8,8 +8,8 @@ import (
8
"cmp"
9
"fmt"
10
"math"
11
- "sort"
12
"slices"
+ "sort"
13
"testing"
14
)
15
@@ -133,9 +133,9 @@ func ExampleOr() {
133
134
func ExampleOr_sort() {
135
type Order struct {
136
- Product string
+ Product string
137
Customer string
138
- Price float64
+ Price float64
139
}
140
orders := []Order{
141
{"foo", "alice", 1.00},
0 commit comments