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:
Rich Trott authored and Michaël Zasso committed 2018-06-16 18:40:50 +02:00
1 parent 98346de08c
commit 4f17841c20
1 file changed
+1 -1
+1 -1
View File
@@ -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
-->