Skip to content

Commit 859a8d1

Browse files
committed
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 ff00a76 commit 859a8d1

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
@@ -672,7 +672,7 @@ assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex'));
672672
// OK
673673
```
674674

675-
### ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
675+
### Class Method: ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
676676
<!-- YAML
677677
added: v10.0.0
678678
-->

0 commit comments

Comments
 (0)