Brushfam / openbrush-contracts

https://openbrush.io
MIT License
25 stars 10 forks source link

Cargo clippy raises an error for the macro #[openbrush::trait_definition] #111

Closed GuiGou12358 closed 1 year ago

GuiGou12358 commented 1 year ago

Hello,

cargo clippy raises the following error:

3 #[openbrush::trait_definition] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#inline_fn_without_body = note: #[deny(clippy::inline_fn_without_body)] on by default = note: this error originates in the attribute macro openbrush::trait_definition (in Nightly builds, run with -Z macro-backtrace for more info)

Please could you have a look and fix the issue?

coreggon11 commented 1 year ago

Hi @GuiGou12358 , this issue will be fixed in the new release

GuiGou12358 commented 1 year ago

Hi @coreggon11 , perfect, thank you!