From 51236495f67c35ea36cc6558e14a9c6e53564a38 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 21 Jul 2018 02:01:55 -0500 Subject: [PATCH] doc update typo fix --- src/db/pool.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/pool.cr b/src/db/pool.cr index 8b47b8f..575c512 100644 --- a/src/db/pool.cr +++ b/src/db/pool.cr @@ -49,7 +49,7 @@ module DB # selected, is_candidate = pool.checkout_some(candidates) # ``` # `selected` be a resource from the `candidates` list and `is_candidate` == `true` - # or `selected` will be a new resource adn `is_candidate` == `false` + # or `selected` will be a new resource and `is_candidate` == `false` def checkout_some(candidates : Enumerable(WeakRef(T))) : {T, Bool} # TODO honor candidates while waiting for availables # this will allow us to remove `candidates.includes?(resource)`