Skip to content

Commit d2e2f17

Browse files
committed
doc: review delegate
1 parent 2352321 commit d2e2f17

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/entt/signal/delegate.hpp‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class delegate<Ret(Args...)> {
118118
}
119119

120120
/**
121-
* @brief Constructs a delegate and connects an user defined function with
121+
* @brief Constructs a delegate and connects a user defined function with
122122
* optional payload.
123123
* @param function Function to connect to the delegate.
124124
* @param payload User defined arbitrary data.
@@ -200,13 +200,13 @@ class delegate<Ret(Args...)> {
200200
}
201201

202202
/**
203-
* @brief Connects an user defined function with optional payload to a
203+
* @brief Connects a user defined function with optional payload to a
204204
* delegate.
205205
*
206206
* The delegate isn't responsible for the connected object or the payload.
207207
* Users must always guarantee that the lifetime of an instance overcomes
208208
* the one of the delegate.<br/>
209-
* The payload is returned as the first argument to the target function in
209+
* The payload is provided as the first argument to the target function in
210210
* all cases.
211211
*
212212
* @param function Function to connect to the delegate.

0 commit comments

Comments
 (0)