Skip to content

Commit 11a4e37

Browse files
committed
Break lines
1 parent 8138790 commit 11a4e37

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

book/src/development/adding_lints.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -615,10 +615,13 @@ output in the `stdout` part.
615615

616616
## Opposing lints
617617

618-
There are several lints that deal with the same pattern but suggest different approaches. When you are creating a lint that interact with this scenario, the following tips should be encouraged to guide classification:
618+
There are several lints that deal with the same pattern but suggest different approaches. When you are creating a
619+
lint that interact with this scenario, the following tips should be encouraged to guide classification:
619620

620-
* The only case where they should be in the same category is if that category is `restriction`. For example, `semicolon_inside_block` and `semicolon_inside_block`.
621-
* For all the other cases, they should be in different categories with different levels of allowance. For example, `implicit_return` (restriction, allow) and `needless_return` (style, warn).
621+
* The only case where they should be in the same category is if that category is `restriction`. For example,
622+
`semicolon_inside_block` and `semicolon_inside_block`.
623+
* For all the other cases, they should be in different categories with different levels of allowance. For example,
624+
`implicit_return` (restriction, allow) and `needless_return` (style, warn).
622625

623626
## PR Checklist
624627

0 commit comments

Comments
 (0)