Skip to content

Commit 4f17841

Browse files
Trotttargos
authored andcommitted
doc: use Class Method label consistently
The Buffer doc has a helpful "Class Method" label before static methods on the Buffer class. The only other class in the docs that I can find with static methods is ECDH in crypto. Add the label to the one static method on the ECDH class. PR-URL: #21357 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Michaël Zasso <[email protected]>
1 parent 98346de commit 4f17841

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/crypto.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex'));
667667
// OK
668668
```
669669

670-
### ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
670+
### Class Method: ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
671671
<!-- YAML
672672
added: v10.0.0
673673
-->

0 commit comments

Comments
 (0)