Skip to content

Commit 773ad59

Browse files
committed
fix bad macro usage
1 parent 40a4cc3 commit 773ad59

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/concurrent/edge/promises.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def default_executor
564564
@DefaultExecutor
565565
end
566566

567-
# @!macro promises.shortcut.using
567+
# @!macro promises.shortcut.on
568568
# @return [Future]
569569
def chain(*args, &task)
570570
chain_on @DefaultExecutor, *args, &task
@@ -932,7 +932,7 @@ def exception(*args)
932932
end
933933
end
934934

935-
# @!macro promises.shortcut.using
935+
# @!macro promises.shortcut.on
936936
# @return [Future]
937937
def then(*args, &task)
938938
then_on @DefaultExecutor, *args, &task
@@ -950,7 +950,7 @@ def then_on(executor, *args, &task)
950950
ThenPromise.new(self, @DefaultExecutor, executor, args, &task).future
951951
end
952952

953-
# @!macro promises.shortcut.using
953+
# @!macro promises.shortcut.on
954954
# @return [Future]
955955
def rescue(*args, &task)
956956
rescue_on @DefaultExecutor, *args, &task

0 commit comments

Comments
 (0)