Skip to content

Commit 8cdc04b

Browse files
fix the problem with code examples
1 parent 0635c0d commit 8cdc04b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/src/dev/coding_style.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ When to Comment
102102
- Comment every member variable to explain its role.
103103

104104
Example:
105+
105106
.. code-block:: cpp
106107
107108
/**
@@ -125,6 +126,7 @@ Example:
125126
- Explain what the function does, its parameters, and its return value.
126127

127128
Example:
129+
128130
.. code-block:: cpp
129131
130132
/**
@@ -136,6 +138,7 @@ Example:
136138
float estimate_wirelength(ClusterNetId net_id);
137139
138140
Example:
141+
139142
.. code-block:: cpp
140143
141144
// Skip ignored nets

0 commit comments

Comments
 (0)