Skip to content
GitHub Actions / clippy failed Oct 31, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

programs/protocol-contracts-solana/src/lib.rs|441 col 1| warning: this function has too many arguments (8/7)
--> programs/protocol-contracts-solana/src/lib.rs:441:1
|
441 | / fn validate_signature_or_authority(
442 | | pda: &mut Account,
443 | | whitelist_candidate: &mut Account,
444 | | authority: &Signer,
... |
449 | | instruction_name: &str,
450 | | ) -> Result<()> {
| |_______________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
= note: #[warn(clippy::too_many_arguments)] on by default

Filtered Findings (0)

Annotations

Check warning on line 441 in programs/protocol-contracts-solana/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] programs/protocol-contracts-solana/src/lib.rs#L441

warning: this function has too many arguments (8/7)
   --> programs/protocol-contracts-solana/src/lib.rs:441:1
    |
441 | / fn validate_signature_or_authority(
442 | |     pda: &mut Account<Pda>,
443 | |     whitelist_candidate: &mut Account<Mint>,
444 | |     authority: &Signer,
...   |
449 | |     instruction_name: &str,
450 | | ) -> Result<()> {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default
Raw output
programs/protocol-contracts-solana/src/lib.rs:441:1:w:warning: this function has too many arguments (8/7)
   --> programs/protocol-contracts-solana/src/lib.rs:441:1
    |
441 | / fn validate_signature_or_authority(
442 | |     pda: &mut Account<Pda>,
443 | |     whitelist_candidate: &mut Account<Mint>,
444 | |     authority: &Signer,
...   |
449 | |     instruction_name: &str,
450 | | ) -> Result<()> {
    | |_______________^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments
    = note: `#[warn(clippy::too_many_arguments)]` on by default


__END__