Skip to content

Commit 922c13c

Browse files
Derek Lewiscodebytere
Derek Lewis
authored andcommitted
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: #32938 PR-URL: #33548 Fixes: #32938 Reviewed-By: Rich Trott <[email protected]>
1 parent 114d77e commit 922c13c

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

doc/guides/investigating_native_memory_leak.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@ line number:
366366

367367
This new output shows us exactly where the leak is occurring in the file `hello.cc`:
368368

369-
```C++
369+
```cpp
370370
6 void* malloc_holder = nullptr;
371371
7 napi_value Method(napi_env env, napi_callback_info info) {
372372
8 napi_status status;

doc/guides/writing-and-running-benchmarks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ package managers or download it from <https://www.r-project.org/>.
5959
The R packages `ggplot2` and `plyr` are also used and can be installed using
6060
the R REPL.
6161

62-
```R
62+
```console
6363
$ R
6464
install.packages("ggplot2")
6565
install.packages("plyr")
@@ -71,7 +71,7 @@ selected first, specify a mirror by adding in the repo parameter.
7171
If we used the "<http://cran.us.r-project.org>" mirror, it could look something
7272
like this:
7373

74-
```R
74+
```r
7575
install.packages("ggplot2", repo="http://cran.us.r-project.org")
7676
```
7777

src/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ Node.js provides a few macros that behave similar to `assert()`:
910910
The `OnScopeLeave()` function can be used to run a piece of code when leaving
911911
the current C++ scope.
912912

913-
```c++
913+
```cpp
914914
static void GetUserInfo(const FunctionCallbackInfo<Value>& args) {
915915
Environment* env = Environment::GetCurrent(args);
916916
uv_passwd_t pwd;

0 commit comments

Comments
 (0)