Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4f17841

Browse filesBrowse files
Trotttargos
authored andcommitted
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: #21357 Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
1 parent 98346de commit 4f17841
Copy full SHA for 4f17841

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ assert.strictEqual(aliceSecret.toString('hex'), bobSecret.toString('hex'));
667667
// OK
668668
```
669669

670-
### ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
670+
### Class Method: ECDH.convertKey(key, curve[, inputEncoding[, outputEncoding[, format]]])
671671
<!-- YAML
672672
added: v10.0.0
673673
-->

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.