amoffat/supertag

Lints in clippy::restriction group are meant to be picked one by one

Open

#5 opened on Dec 3, 2020

 (1 comment) (0 reactions) (0 assignees)Rust (26 forks)github user discovery
cleanupgood first issue

Repository metrics

Stars
 (616 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hi @amoffat, thanks for this cool project!

I noticed you enabled the whole restriction category of Clippy. Lints in that group are not meant to be all enabled, as they are thought for very specific codebases, and some of them are even against idiomatic Rust. You should pick them one by one, if you find any of them useful.

Clippy should warn you against that, but you may be using an older version. Just wanted to make sure you are aware of that!

Contributor guide