Skip to content

Commit 2ceb2f0

Browse files
committed
Fix doc typos.
1 parent 255cdfe commit 2ceb2f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/asio/inline_or_executor.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class inline_or_executor
422422
/// Request the inline_or_executor to invoke the given function object.
423423
/**
424424
* This function is used to ask the inline_or_executor to execute the given
425-
* function object. The function object will be executed inside this functon.
425+
* function object. The function object will be executed inside this function.
426426
*
427427
* @param f The function object to be called. The executor will make
428428
* a copy of the handler object as required. The function signature of the
@@ -443,7 +443,7 @@ class inline_or_executor
443443
/**
444444
* This function is used to ask the executor to execute the given function
445445
* object. The function object will never be executed inside this function.
446-
* Instead, it will be scheduled by the underlying executor's defer function.
446+
* Instead, it will be scheduled by the underlying executor's post function.
447447
*
448448
* @param f The function object to be called. The executor will make
449449
* a copy of the handler object as required. The function signature of the

include/asio/strand.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class strand
296296
/**
297297
* This function is used to ask the executor to execute the given function
298298
* object. The function object will never be executed inside this function.
299-
* Instead, it will be scheduled by the underlying executor's defer function.
299+
* Instead, it will be scheduled by the underlying executor's post function.
300300
*
301301
* @param f The function object to be called. The executor will make
302302
* a copy of the handler object as required. The function signature of the

0 commit comments

Comments
 (0)