Commit 1f90b17
committed
Combine code examples into a single
Doing this based on the PR review
(#159 (comment))
as the valid code examples are essentially the same.
This commit also changes the changes the type cast used in the second
example to make it more clear that this sniff is not only about `(int)`
type casts.<code_comparison> block1 parent c9c9b09 commit 1f90b17
File tree
1 file changed
+3
-13
lines changed- src/Standards/Generic/Docs/Formatting
1 file changed
+3
-13
lines changedLines changed: 3 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 17 | + | |
28 | 18 | | |
29 | 19 | | |
30 | 20 | | |
| |||
0 commit comments