Skip to content

Commit de80b60

Browse files
committed
fix scaladoc references
1 parent 070fccb commit de80b60

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

core/src/main/scala/org/typelevel/keypool/KeyPool.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import org.typelevel.keypool.internal._
3535
* A background reaper thread is kept alive for the length of the key pool's life.
3636
*
3737
* When resources are taken from the pool they are received as a [[Managed]]. This [[Managed]] has a
38-
* [[Ref]] to a [[Reusable]] which indicates whether the pool can reuse the resource.
38+
* `Ref` to a [[Reusable]] which indicates whether the pool can reuse the resource.
3939
*
4040
* Unlike [[Pool]], which is a single-key convenience wrapper, `KeyPool` partitions resources by a
4141
* user-provided key type `A` and enforces per-key limits and accounting.
@@ -377,8 +377,8 @@ object KeyPool {
377377

378378
/**
379379
* Set the default [[Reusable]] state applied when resources are returned to the pool. This
380-
* default can be overridden per-resource via [[Managed.canBeReused]] from [[KeyPool.take]]. If
381-
* not configured, the default is [[Reusable.Reuse]].
380+
* default can be overridden per-resource via [[Managed.canBeReused]] from
381+
* [[KeyPool.take(k:A)* KeyPool.take]]. If not configured, the default is [[Reusable.Reuse]].
382382
*
383383
* @param defaultReuseState
384384
* whether resources returned to the pool should be reused ([[Reusable.Reuse]]) or destroyed

core/src/main/scala/org/typelevel/keypool/Pool.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import scala.concurrent.duration._
3333
* A background reaper thread is kept alive for the length of the pool's life.
3434
*
3535
* When resources are taken from the pool they are received as a [[Managed]]. This [[Managed]] has a
36-
* [[Ref]] to a [[Reusable]] which indicates whether the pool can reuse the resource.
36+
* `Ref` to a [[Reusable]] which indicates whether the pool can reuse the resource.
3737
*
3838
* `Pool` is a convenience, single-key specialization of [[KeyPool]] that does not partition
3939
* resources by key and exposes simpler `take`/`state` APIs.

0 commit comments

Comments
 (0)