Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
minkezhang committed Sep 12, 2022
1 parent 5aedd18 commit f61015f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ func main() {
qmin := pq.New[F](2, pq.PMin)
qmax := pq.New[F](2, pq.PMax)

qmin.Push( /* data = */ 418 /* priority = */, 10)
qmin.Push(
/* data = */ 418,
/* priority = */ 10,
)
qmax.Push(418, 10)
qmin.Push(42, 1)
qmax.Push(42, 1)
Expand Down

0 comments on commit f61015f

Please sign in to comment.