Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
RickoNoNo3 authored Mar 21, 2024
1 parent 30f8162 commit 90171fd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ func main() {
fmt.Println(setsList)

sets2 := ufset.New[string]()
sets.Union("hello", "world")
sets.Union("world", "peace")
sets.Union("foo", "bar")
fmt.Println(sets.Find("hello"), sets.Find("peace"), sets.Find("bar"))
sets2.Union("hello", "world")
sets2.Union("world", "peace")
sets2.Union("foo", "bar")
fmt.Println(sets2.Find("hello"), sets2.Find("peace"), sets2.Find("bar"))
}
```
`output:`
Expand Down

0 comments on commit 90171fd

Please sign in to comment.