Skip to content

Commit

Permalink
doc: remove pronouns
Browse files Browse the repository at this point in the history
Per requested changes. Since the code will only work for the
described pattern.
  • Loading branch information
shiya committed Oct 13, 2017
1 parent 38874bc commit ca0229f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/util.md
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ console.log(promisified === doSomething[util.promisify.custom]);
This can be useful for cases where the original function does not follow the
standard format of taking an error-first callback as the last argument.

For example, if you have a pattern that takes in `(foo, onSuccessCallback, onErrorCallback)`, you can do:
For example, with a function that takes in `(foo, onSuccessCallback, onErrorCallback)`:

```js
doSomething[util.promisify.custom] = function(foo) {
Expand Down

0 comments on commit ca0229f

Please sign in to comment.