From 31f04e1a7b2f91fe81c1d3dde2e9ad89ca80ced2 Mon Sep 17 00:00:00 2001 From: Shiqing Gao Date: Mon, 11 Mar 2019 08:38:17 +0800 Subject: [PATCH] doc: fix typos in coding guidelines This patch fixes typos in coding guidelines. Tracked-On: #2711 Signed-off-by: Shiqing Gao --- doc/developer-guides/coding_guidelines.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/developer-guides/coding_guidelines.rst b/doc/developer-guides/coding_guidelines.rst index 48e7d5f6c..dfa58f9c4 100755 --- a/doc/developer-guides/coding_guidelines.rst +++ b/doc/developer-guides/coding_guidelines.rst @@ -2812,8 +2812,8 @@ width. -CS-05: Trailing whitespaces shall not be allowed at the end of lines -==================================================================== +CS-05: Trailing whitespace shall not be allowed at the end of lines +=================================================================== This rule applies to both spaces and tabs at the end of a line. @@ -2900,7 +2900,7 @@ The following cases shall be covered: a) For declaration of variables of a pointer type, the '*' character shall be right before the variable identifier with no space in between. b) For functions whose return value is of a pointer type, the '*' character - shall be right before the function identifyer with no spaces in between in the + shall be right before the function identifier with no spaces in between in the function prototype. Compliant example:: @@ -2962,7 +2962,7 @@ Compliant example:: CS-12: A single space shall exist right after semicolons in for-loop headers ============================================================================ -A single space shall exist right after semicolons that separete the different +A single space shall exist right after semicolons that separate the different expressions in for-loop headers. Compliant example::