Skip to content

Commit 17b3fa6

Browse files
committed
fix: add indentation to fit rst format
1 parent 716afea commit 17b3fa6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/coding-guidelines/types-and-traits.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Types and Traits
3232

3333
This rule ensures that parameters and variables convey intent directly through the type system to avoid accidental misuse of values with identical primitives but different semantics.
3434
In particular:
35+
3536
* Prevents mixing logically distinct values.
3637
Primitive types like ``u32`` or ``u64`` can represent lengths, counters, timestamps, durations, IDs, or other values.
3738
Different semantic domains can be confused, leading to incorrect computations.
@@ -69,7 +70,7 @@ Types and Traits
6970
let _result = travel(t, d); // Compiles, but semantically incorrect
7071
}
7172
72-
.. non_compliant_example::
73+
.. non_compliant_example::
7374
:id: non_compl_ex_PO5TyFsRTlWv
7475
:status: draft
7576

0 commit comments

Comments
 (0)