Skip to content

Commit 0635c0d

Browse files
put all sections under a page titled Coding Style
1 parent 3f9cc2e commit 0635c0d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

doc/src/dev/coding_style.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11

2-
Use of `auto`
2+
Coding Style
33
=============
44

5+
Use of `auto`
6+
~~~~~~~~~~~~~
7+
58
Use `auto` only when the type is long, complex, or hard to write explicitly.
69

710
Examples where `auto` is appropriate:
@@ -48,7 +51,7 @@ Rationale: clear, explicit types help with readability and understanding. Avoid
4851

4952

5053
Commenting Style
51-
================
54+
~~~~~~~~~~~~~~~~
5255

5356
Comments help readers understand the purpose, structure, and reasoning behind the code.
5457
This section outlines when and how to use comments in a consistent and helpful way.

0 commit comments

Comments
 (0)