Revamp and Add More to Stylus Cache Manager CLI #299
GitHub Actions / clippy
succeeded
Aug 28, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.80.1 (3f5fd8dd4 2024-08-06)
- cargo 1.80.1 (376290515 2024-07-16)
- clippy 0.1.80 (3f5fd8d 2024-08-06)
Annotations
Check warning on line 74 in check/src/wallet.rs
github-actions / clippy
unneeded `return` statement
warning: unneeded `return` statement
--> check/src/wallet.rs:74:9
|
74 | return Ok(EthereumWallet::new(signer));
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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`
|
74 - return Ok(EthereumWallet::new(signer));
74 + Ok(EthereumWallet::new(signer))
|
Check warning on line 232 in check/src/cache.rs
github-actions / clippy
useless conversion to the same type: `u128`
warning: useless conversion to the same type: `u128`
--> check/src/cache.rs:232:21
|
232 | let gas: u128 = gas.try_into().unwrap_or(u128::MAX);
| ^^^^^^^^^^^^^^
|
= help: consider removing `.try_into()`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
= note: `#[warn(clippy::useless_conversion)]` on by default
Loading