Skip to content

Commit

Permalink
doc: do not use "Returns:" for crypto.constants
Browse files Browse the repository at this point in the history
This is not a function and should not use the term "return" to describe
its type or value.

PR-URL: #44481
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Harshitha K P <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
tniessen authored and targos committed Sep 16, 2022
1 parent 18dbe37 commit 323220c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/api/crypto.md
Original file line number Diff line number Diff line change
Expand Up @@ -2853,9 +2853,11 @@ Does not perform any other validation checks on the certificate.
added: v6.3.0
-->

* Returns: {Object} An object containing commonly used constants for crypto and
security related operations. The specific constants currently defined are
described in [Crypto constants][].
* {Object}

An object containing commonly used constants for crypto and security related
operations. The specific constants currently defined are described in
[Crypto constants][].

### `crypto.DEFAULT_ENCODING`

Expand Down

0 comments on commit 323220c

Please sign in to comment.