Commit Graph

26 Commits

Author SHA1 Message Date
simonsan
be0f1b1db0
Replace wording "abuse" with "misuse" (#339)
The wording is imho pretty clear connotated with sexual abuse and every time I read it I feel like it's misplaced. So I feel like replacing "abuse" with "misuse" is a better and clear wording.
2023-01-18 18:39:50 +01:00
hafeoz
662a519128
Change lints hyphen to underscore (#308) 2022-05-26 21:59:50 +00:00
poly000
90484a2387
fix comment in 'Clone to stasify borrow checker' (#291) 2022-01-15 00:20:48 +01:00
Marco Ieni
39a2f36eab
deny-warnings: remove contradiction with rustc doc (#282) 2021-10-18 14:27:52 +02:00
poly000
9834f5719b
Fixing grammar and spelling mistakes (#270) 2021-08-25 04:43:23 +02:00
simonsan
c9c5f70024
Adding 'clone to satisfy the borrow checker' anti-pattern (#110) 2021-03-29 23:51:47 +02:00
Jaxel Rojas
fb57f21ec1
Fix syntax error on code snippet (#246)
* Fix syntax error on code snippet

* Added comma to struct definition on code snippet

* cargo fmt, remove ignore flag

Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2021-03-10 13:40:13 +01:00
simonsan
1d173dab4e
Add link to a list of all clippy lints (#216) 2021-02-02 20:56:01 +01:00
Jakub Beránek
84bf81a47f
Add delegation crates to See Also in Deref anti-pattern (#215) 2021-01-26 20:21:52 +01:00
Matthias Beyer
e6d1576769
Remove lints that have been removed (#213)
Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2021-01-25 20:06:40 +01:00
simonsan
2cd70a552d
Shorten lines to line-length 80 (#208) 2021-01-22 00:00:02 +01:00
simonsan
f61f2f40f0
Fix lines to 150 line length for better tracking of future changes (#189) 2021-01-08 08:59:46 +01:00
Takashi Idobe
60946dd8c7
Add markdownlint to CI (#164) 2021-01-05 15:57:07 +01:00
Takashi Idobe
5f1425d7ed
Apply markdownlint to project (#163) 2021-01-05 15:36:20 +01:00
Marco Ieni
344b5b8fbd
Fix internal links (#143)
* Rename Readme to index to fix internal book links

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
2021-01-03 10:43:49 +01:00
llogiq
721a6dff86
Added information on --cap-lints to deny-warnings antipattern (#58)
* added information on --cap-lints to deny-warnings antipattern

Co-authored-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2021-01-02 13:03:36 +01:00
simonsan
b6e5414941
Add doc tests to CI (#124)
* rename baz() into main() and vice versa where applicable

Fixes #49
2021-01-02 12:40:52 +01:00
simonsan
de7519f5d9
Add introductions (#117)
Co-authored-by: Marco Ieni <11428655+MarcoIeni@users.noreply.github.com>
2021-01-02 12:15:33 +01:00
simonsan
3f3ae4ae73
Adding mdbook configuration and deployment to gh-pages (#111) 2021-01-01 12:27:42 +01:00
Chris Wong
63b3c6545e
Merge pull request #85 from tmandry/patch-1
Mention --cap-lints on #[deny(warnings)] page
2020-07-10 19:35:08 +10:00
Alexey Gerasimov
6566500a70
Type fix 2019-09-28 19:42:34 +05:00
Tyler Mandry
ef9409aa71
Mention --cap-lints on #[deny(warnings)] page 2019-08-01 14:21:13 -07:00
Behnam Esfahbod ❄
51d02c6f94
Update deny-warnings.md
Update doc/reference link
2018-09-08 19:03:28 -07:00
llogiq
ae8a020766 add links to deny(warnings) antipattern, fix typo (#52) 2017-01-24 08:06:21 +13:00
llogiq
1cca0422ea Deny warnings (#47)
* Add another example to the mem::replace idiom

This fixes #38

* New anti-pattern: deny-warnings

* added deprecated link

* fix link title, add explanation why not deprecated

* incorporated hints from lfairy
2017-01-04 13:14:03 +13:00
Nick Cameron
c2cf5e6c1a Deref polymorphism anti-pattern 2015-11-01 21:31:24 -05:00