diff options
author | Derek Lewis <DerekNonGeneric@inf.is> | 2020-05-24 19:37:21 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2020-06-10 17:28:12 +0300 |
commit | f4e805c86082fcf8157c745e71977cc343dd1bc4 (patch) | |
tree | 15cd2797a9956933ee8bb0a36f843e668ea11f09 /src/README.md | |
parent | 0f9d474c524e5132423a96db05d2b2541fcda121 (diff) |
doc: fix misc. mislabeled code block info strings
Prior to this commit, a handful of misc. code blocks were in need
of fixup. Corrections are according to predetermined conventions.
Closes: https://github.com/nodejs/node/issues/32938
PR-URL: https://github.com/nodejs/node/pull/33548
Fixes: https://github.com/nodejs/node/issues/32938
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'src/README.md')
-rw-r--r-- | src/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/README.md b/src/README.md index 2604c4aefa3..a3a6a71aa55 100644 --- a/src/README.md +++ b/src/README.md @@ -910,7 +910,7 @@ Node.js provides a few macros that behave similar to `assert()`: The `OnScopeLeave()` function can be used to run a piece of code when leaving the current C++ scope. -```c++ +```cpp static void GetUserInfo(const FunctionCallbackInfo<Value>& args) { Environment* env = Environment::GetCurrent(args); uv_passwd_t pwd; |