Skip to content

Add Potlock contract #575

Add Potlock contract

Add Potlock contract #575

GitHub Actions / clippy succeeded Aug 19, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (0)
Filtered Findings (2)

contracts/nft-minter/src/nft_module.rs|127 col 41| warning: the borrowed expression implements the required traits
--> contracts/nft-minter/src/nft_module.rs:127:41
|
127 | self.nft_token_id().set(&token_id.unwrap_esdt());
| ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: token_id.unwrap_esdt()
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: #[warn(clippy::needless_borrows_for_generic_args)] on by default
contracts/nft-minter/src/nft_module.rs|127 col 41| warning: the borrowed expression implements the required traits
--> contracts/nft-minter/src/nft_module.rs:127:41
|
127 | self.nft_token_id().set(&token_id.unwrap_esdt());
| ^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: token_id.unwrap_esdt()
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: #[warn(clippy::needless_borrows_for_generic_args)] on by default