Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • zbus zbus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 73
    • Issues 73
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • dbusdbus
  • zbuszbus
  • Repository
Switch branch/tag
  • zbus
  • zbus_polkit
  • src
  • policykit1.rs
Find file BlameHistoryPermalink
  • Zeeshan Ali Khan's avatar
    zb,zv,zp,zm: Implement Eq for types implementing PartialEq · f8f81cc8
    Zeeshan Ali Khan authored Jun 08, 2022
    This fixes a clippy warning:
    
    ```
    warning: you are deriving `PartialEq` and can implement `Eq`
       --> zbus/src/fdo.rs:452:57
        |
    452 | #[derive(Deserialize_repr, Serialize_repr, Type, Debug, PartialEq)]
        |                                                         ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
    ```
    
    For some of the types, we had to ignore the warning due to:
    
    https://github.com/rust-lang/rust-clippy/issues/8970
    f8f81cc8