From 859a8d1907e672009362ec37d58d0b5892e154d4 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 15 Jun 2018 12:54:50 -0700 Subject: [PATCH] doc: use Class Method label consistently MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-By: Michaƫl Zasso --- doc/api/crypto.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index c88f856ed26..6c52cebae42 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -672,7 +672,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]]])