Skip to content

Findings from running Clippy on Servo #164

Open
@Manishearth

Description

@Manishearth

(I'll update as I move forward)

  • float_cmp/single_match needs in_external_macro, otherwise it lints on all derived thingies. We should find other lints that are prone to lint on derive too.
  • option_unwrap_unused has too many false positives (places where it is known to exist, for example), and in general unwrap seems pervasive throughout Servo and other Rust codebases. I vote we move this to Allow.
  • let_unit_value also has a problem with derives, even though it uses in_macro. Will investigate

PRs: servo/servo#7224, servo/servo#7536, servo/servo#7519

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-an-interesting-projectCategory: Interesting projects, that usually are more involved design/code wise.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions