mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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: https://github.com/nodejs/node/pull/21357 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
1 parent
98346de08c
commit
4f17841c20
1 file changed
+1
-1
+1
-1
@@ -667,7 +667,7 @@ assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex'));
|
||||
// OK
|
||||
```
|
||||
|
||||
### ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
|
||||
### Class Method: ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
|
||||
<!-- YAML
|
||||
added: v10.0.0
|
||||
-->
|
||||
|
||||
Reference in new issue
Block a user