Skip to content

Commit

Permalink
Fixed copy/paste error in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
djspiewak committed May 29, 2024
1 parent a1f25e9 commit cdc2129
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions std/shared/src/main/scala/cats/effect/std/Queue.scala
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,11 @@ object Queue {
}

/**
* Creates a new `Queue` subject to some `capacity` bound which supports a side-effecting
* `offer` function, allowing impure code to directly add values to the queue without
* indirecting through something like [[Dispatcher]]. This can improve performance
* significantly in some common cases. Note that the queue produced by this constructor can be
* used as a perfectly conventional [[Queue]] (as it is a subtype).
* Creates a new unbounded `Queue` which supports a side-effecting `offer` function, allowing
* impure code to directly add values to the queue without indirecting through something like
* [[Dispatcher]]. This can improve performance significantly in some common cases. Note that
* the queue produced by this constructor can be used as a perfectly conventional [[Queue]]
* (as it is a subtype).
*
* @return
* an empty unbounded queue
Expand Down

0 comments on commit cdc2129

Please sign in to comment.