Skip to content

Commit 05006ed

Browse files
tniessenRafaelGSS
authored andcommitted
doc: do not use "Returns:" for crypto.constants
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 <duhamelantoine1995@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Harshitha K P <harshitha014@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent cf19a79 commit 05006ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

doc/api/crypto.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -2865,9 +2865,11 @@ Does not perform any other validation checks on the certificate.
28652865
added: v6.3.0
28662866
-->
28672867

2868-
* Returns: {Object} An object containing commonly used constants for crypto and
2869-
security related operations. The specific constants currently defined are
2870-
described in [Crypto constants][].
2868+
* {Object}
2869+
2870+
An object containing commonly used constants for crypto and security related
2871+
operations. The specific constants currently defined are described in
2872+
[Crypto constants][].
28712873

28722874
### `crypto.DEFAULT_ENCODING`
28732875

0 commit comments

Comments
 (0)