Skip to content

Commit 69393fc

Browse files
committed
fix wording
1 parent 070e63c commit 69393fc

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

doctests/sets_example_test.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,9 @@ func ExampleClient_saddsmembers() {
216216
panic(err)
217217
}
218218

219-
// Sort the strings in the slice to make sure the output is alphabetical
219+
// Sort the strings in the slice to make sure the output is lexicographical
220220
sort.Strings(res10)
221+
221222
fmt.Println(res10) // >>> [bike:1 bike:2 bike:3]
222223
// STEP_END
223224

@@ -298,7 +299,7 @@ func ExampleClient_sdiff() {
298299
}
299300

300301

301-
// Sort the strings in the slice to make sure the output is alphabetical
302+
// Sort the strings in the slice to make sure the output is lexicographical
302303
sort.Strings(res13)
303304

304305
fmt.Println(res13) // >>> [bike:2 bike:3]
@@ -356,7 +357,7 @@ func ExampleClient_multisets() {
356357
panic(err)
357358
}
358359

359-
// Sort the strings in the slice to make sure the output is alphabetical
360+
// Sort the strings in the slice to make sure the output is lexicographical
360361
sort.Strings(res15)
361362

362363
fmt.Println(res15) // >>> [bike:1 bike:2 bike:3 bike:4]
@@ -383,7 +384,7 @@ func ExampleClient_multisets() {
383384
panic(err)
384385
}
385386

386-
// Sort the strings in the slice to make sure the output is alphabetical
387+
// Sort the strings in the slice to make sure the output is lexicographical
387388
sort.Strings(res18)
388389

389390
fmt.Println(res18) // >>> [bike:2 bike:3]

0 commit comments

Comments
 (0)