Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Clippy fails for single variant enum with Derive #11

@norcalli

Description

@norcalli
error: any number modulo 1 will be 0
  --> some_filename.rs:13:10
   |
13 | #[derive(enum_map::Enum, Debug, Copy, Clone)]
#[derive(enum_map::Enum)]
pub enum Side {
    Bottom,
}

I'm not entirely sure what to do about it, just putting it here anyway.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions