From 4f17841c20cff73711716fcc25f65329c78d92e3 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 a75d19610a3dae..d84b088f862f1e 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -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]]])