Skip to content

refactor deposit_and_call and deposit_spl_token_and_call #58

refactor deposit_and_call and deposit_spl_token_and_call

refactor deposit_and_call and deposit_spl_token_and_call #58

Triggered via pull request October 2, 2024 15:54
Status Success
Total duration 2m 23s
Artifacts

check.yml

on: pull_request
nightly / fmt
11s
nightly / fmt
nightly / doc
54s
nightly / doc
stable / features
2m 6s
stable / features
stable / typos
5s
stable / typos
Matrix: clippy
Fit to window
Zoom out
Zoom in

Annotations

8 warnings
[clippy] programs/protocol-contracts-solana/src/lib.rs#L123: programs/protocol-contracts-solana/src/lib.rs#L123
warning: unused variable: `receiver` --> programs/protocol-contracts-solana/src/lib.rs:123:9 | 123 | receiver: [u8; 20], | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` | = note: `#[warn(unused_variables)]` on by default
[clippy] programs/protocol-contracts-solana/src/lib.rs#L117: programs/protocol-contracts-solana/src/lib.rs#L117
warning: unneeded `return` statement --> programs/protocol-contracts-solana/src/lib.rs:117:9 | 117 | return Ok(()); | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 117 - return Ok(()); 117 + Ok(()) |
[clippy] programs/protocol-contracts-solana/src/lib.rs#L164: programs/protocol-contracts-solana/src/lib.rs#L164
warning: unneeded `return` statement --> programs/protocol-contracts-solana/src/lib.rs:164:9 | 164 | return Ok(()); | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 164 - return Ok(()); 164 + Ok(()) |
[clippy] programs/protocol-contracts-solana/src/lib.rs#L123: programs/protocol-contracts-solana/src/lib.rs#L123
warning: unused variable: `receiver` --> programs/protocol-contracts-solana/src/lib.rs:123:9 | 123 | receiver: [u8; 20], | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_receiver` | = note: `#[warn(unused_variables)]` on by default
[clippy] programs/protocol-contracts-solana/src/lib.rs#L117: programs/protocol-contracts-solana/src/lib.rs#L117
warning: unneeded `return` statement --> programs/protocol-contracts-solana/src/lib.rs:117:9 | 117 | return Ok(()); | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `#[warn(clippy::needless_return)]` on by default help: remove `return` | 117 - return Ok(()); 117 + Ok(()) |
[clippy] programs/protocol-contracts-solana/src/lib.rs#L164: programs/protocol-contracts-solana/src/lib.rs#L164
warning: unneeded `return` statement --> programs/protocol-contracts-solana/src/lib.rs:164:9 | 164 | return Ok(()); | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return help: remove `return` | 164 - return Ok(()); 164 + Ok(()) |
beta / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
stable / clippy
The following actions use a deprecated Node.js version and will be forced to run on node20: giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/