Skip to content

Commit 71cf558

Browse files
Trotttargos
authored andcommitted
doc: remove "note that" from CPP_STYLE_GUIDE.md
Refs: nodejs/remark-preset-lint-node#16 PR-URL: #28329 Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]>
1 parent 3d6ae65 commit 71cf558

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CPP_STYLE_GUIDE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ When there is a need to throw errors from a C++ binding method, try to
326326
return the data necessary for constructing the errors to JavaScript,
327327
then construct and throw the errors [using `lib/internal/errors.js`][errors].
328328

329-
Note that in general, type-checks on arguments should be done in JavaScript
329+
In general, type-checks on arguments should be done in JavaScript
330330
before the arguments are passed into C++. Then in the C++ binding, simply using
331331
`CHECK` assertions to guard against invalid arguments should be enough.
332332

0 commit comments

Comments
 (0)