Skip to content

Commit 2f99f50

Browse files
committed
CodingGuidelines: document // comments
We do not use // comments in our C code, which is implied by the description of multi-line comment rule and its examples, but is not explicitly spelled out. Spell it out. Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 9a2fb14 commit 2f99f50

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Documentation/CodingGuidelines

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,8 @@ For C programs:
430430
*/
431431
_("Here is a translatable string explained by the above.");
432432

433+
We do not use // comments.
434+
433435
- Double negation is often harder to understand than no negation
434436
at all.
435437

0 commit comments

Comments
 (0)