Skip to content

Commit

Permalink
slice: remove example for deprecated Dedup
Browse files Browse the repository at this point in the history
  • Loading branch information
danderson committed Jul 26, 2024
1 parent 8488bbe commit 1ca0c67
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions slice/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,6 @@ func ExamplePartition() {
// [3 1 9 5 7]
}

func ExampleDedup() {
vs := []int{1, 1, 3, 2, 2, 4, 4, 5, 1, 3, 3, 3}
fmt.Println(slice.Dedup(vs))
// Output:
// [1 3 2 4 5 1 3]
}

func ExampleSplit() {
vs := []int{1, 2, 3, 4, 5, 6, 7, 8}

Expand Down

0 comments on commit 1ca0c67

Please sign in to comment.