From fc0f0f9f15574b4f80bda8249c0763d5865cb8b2 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 16 Aug 2022 17:09:55 +0200 Subject: Add cargo clippy rules --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 24e6a72..caf447d 100644 --- a/readme.md +++ b/readme.md @@ -32,7 +32,6 @@ Crate docs are currently at and fix stuff I’m doing manually now - [ ] (5) Do some research on rust best practices for APIs, e.g., what to accept, how to integrate with streams or so? -- [ ] (1) Go through clippy rules, and such, to add strict code styles - [ ] (3) Write comparison to other parsers - [ ] (3) Add node/etc bindings? - [ ] (3) Bunch of docs @@ -90,7 +89,7 @@ cargo fmt --all Lint: ```sh -cargo fmt --all -- --check && cargo clippy -- -W clippy::pedantic -A clippy::doc_link_with_quotes +cargo fmt --all -- --check && cargo clippy -- -D clippy::pedantic -D clippy::cargo -A clippy::doc_link_with_quotes ``` Tests: -- cgit