Skip to content

Commit 45facc8

Browse files
vsemozhetbytevanlucas
authored andcommitted
doc: fix an unclear wording in readline.md
PR-URL: #12605 Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent da01ff7 commit 45facc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/readline.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -403,8 +403,8 @@ a `'resize'` event on the `output` if or when the columns ever change
403403

404404
### Use of the `completer` Function
405405

406-
When called, the `completer` function is provided the current line entered by
407-
the user, and is expected to return an Array with 2 entries:
406+
The `completer` function takes the current line entered by the user
407+
as an argument, and returns an Array with 2 entries:
408408

409409
* An Array with matching entries for the completion.
410410
* The substring that was used for the matching.

0 commit comments

Comments
 (0)