Skip to content

Commit 70d344a

Browse files
committed
Remove double backticks from CODING_STYLE.md
1 parent d547bf2 commit 70d344a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CODING_STYLE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@ Use `solAssert` and `solUnimplementedAssert` generously to check assumptions tha
110110
4. Favour declarations close to use; do not habitually declare at top of scope ala C.
111111
5. Pass non-trivial parameters as const reference, unless the data is to be copied into the function, then either pass by const reference or by value and use std::move.
112112
6. If a function returns multiple values, use std::tuple (std::pair acceptable) or better introduce a struct type. Do not use */& arguments.
113-
7. Use parameters of pointer type only if ``nullptr`` is a valid argument, use references otherwise. Often, ``std::optional`` is better suited than a raw pointer.
113+
7. Use parameters of pointer type only if `nullptr` is a valid argument, use references otherwise. Often, `std::optional` is better suited than a raw pointer.
114114
8. Never use a macro where adequate non-preprocessor C++ can be written.
115-
9. Only use ``auto`` if the type is very long and rather irrelevant.
115+
9. Only use `auto` if the type is very long and rather irrelevant.
116116
10. Do not pass bools: prefer enumerations instead.
117117
11. Prefer enum class to straight enum.
118118
12. Always initialize POD variables, even if their value is overwritten later.

0 commit comments

Comments
 (0)