Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
typo fix
  • Loading branch information
jkthorne committed Jul 21, 2018
1 parent c54fab4 commit 5123649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/db/pool.cr
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down

0 comments on commit 5123649

Please sign in to comment.