Skip to content

Commit

Permalink
docs: typo in a table field name
Browse files Browse the repository at this point in the history
  • Loading branch information
Bilal2453 authored and squeek502 committed Jan 17, 2024
1 parent 08b9790 commit a0ddec2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -1960,7 +1960,7 @@ Bind the pipe to a file path (Unix) or a name (Windows).
`Flags`:

- If `type(flags)` is `number`, it must be `0` or `uv.constants.PIPE_NO_TRUNCATE`.
- If `type(flags)` is `table`, it must be `{}` or `{ no_trunate = true|false }`.
- If `type(flags)` is `table`, it must be `{}` or `{ no_truncate = true|false }`.
- If `type(flags)` is `nil`, it use default value `0`.
- Returns `EINVAL` for unsupported flags without performing the bind operation.

Expand Down Expand Up @@ -1991,7 +1991,7 @@ Connect to the Unix domain socket or the named pipe.
`Flags`:

- If `type(flags)` is `number`, it must be `0` or `uv.constants.PIPE_NO_TRUNCATE`.
- If `type(flags)` is `table`, it must be `{}` or `{ no_trunate = true|false }`.
- If `type(flags)` is `table`, it must be `{}` or `{ no_truncate = true|false }`.
- If `type(flags)` is `nil`, it use default value `0`.
- Returns `EINVAL` for unsupported flags without performing the bind operation.

Expand Down

0 comments on commit a0ddec2

Please sign in to comment.