From b78a7bbcfe85b5765adba32789e49651a11d933b 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 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. --- 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 c88f856ed26266..6c52cebae42f8d 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]]])