Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

#[pallet::event] macro does not respect clippy #9052

Closed
JoshOrndorff opened this issue Jun 9, 2021 · 0 comments
Closed

#[pallet::event] macro does not respect clippy #9052

JoshOrndorff opened this issue Jun 9, 2021 · 0 comments

Comments

@JoshOrndorff
Copy link
Contributor

warning: unneeded unit return type
  --> pallets/author-mapping/src/lib.rs:91:12
   |
91 |     #[pallet::event]
   |               ^^^^^ help: remove the `-> ()`
   |
   = note: `#[warn(clippy::unused_unit)]` on by default
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit

https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant