From 3255ae4cd170113d5162970b9890d69a3e7b8b06 Mon Sep 17 00:00:00 2001 From: Kazushi Kitaya Date: Wed, 2 Jan 2019 00:05:59 +0900 Subject: doc: fix heading in cpp style guide Names of c-like structs do not have to end with an underscore. PR-URL: https://github.com/nodejs/node/pull/25303 Reviewed-By: Daniel Bevenius Reviewed-By: Anna Henningsen --- CPP_STYLE_GUIDE.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CPP_STYLE_GUIDE.md') diff --git a/CPP_STYLE_GUIDE.md b/CPP_STYLE_GUIDE.md index b82ed7cc19..b31055ffbd 100644 --- a/CPP_STYLE_GUIDE.md +++ b/CPP_STYLE_GUIDE.md @@ -13,7 +13,7 @@ * [CamelCase for methods, functions, and classes](#camelcase-for-methods-functions-and-classes) * [snake\_case for local variables and parameters](#snake_case-for-local-variables-and-parameters) * [snake\_case\_ for private class fields](#snake_case_-for-private-class-fields) - * [snake\_case\_ for C-like structs](#snake_case_-for-c-like-structs) + * [snake\_case for C-like structs](#snake_case-for-c-like-structs) * [Space after `template`](#space-after-template) * [Memory Management](#memory-management) * [Memory allocation](#memory-allocation) @@ -169,7 +169,7 @@ class Foo { }; ``` -### snake\_case\_ for C-like structs +### snake\_case for C-like structs For plain C-like structs snake_case can be used. ```c++ -- cgit v1.2.3