Skip to content

Commit 225b0a1

Browse files
authored
Fix spelling in doc block
1 parent e7db59d commit 225b0a1

File tree

1 file changed

+1
-1
lines changed
  • lib/concurrent/channel/buffer

1 file changed

+1
-1
lines changed

lib/concurrent/channel/buffer/base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def put(item)
9191

9292
# @!macro [attach] channel_buffer_offer
9393
#
94-
# Put an item onto the buffer is possible. If the buffer is open but
94+
# Put an item onto the buffer if possible. If the buffer is open but
9595
# unable to add an item, probably due to being full, the method will
9696
# return immediately. Similarly, the method will return immediately
9797
# when the buffer is closed. A return value of `false` does not

0 commit comments

Comments
 (0)