fix(deps): bump reqwest from 0.12.23 to 0.12.24 #1053
GitHub Actions / clippy
succeeded
Oct 14, 2025 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.90.0 (1159e78c4 2025-09-14)
- cargo 1.90.0 (840b83a10 2025-07-30)
- clippy 0.1.90 (1159e78c47 2025-09-14)
Annotations
Check warning on line 114 in ton-liteserver-client/src/tracker/masterchain_first_block_tracker.rs
github-actions / clippy
hiding a lifetime that's elided elsewhere is confusing
warning: hiding a lifetime that's elided elsewhere is confusing
--> ton-liteserver-client/src/tracker/masterchain_first_block_tracker.rs:114:19
|
114 | pub fn borrow(&self) -> Ref<Option<BlockHeader>> {
| ^^^^^ ------------------------ the same lifetime is hidden here
| |
| the lifetime is elided here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: use `'_` for type paths
|
114 | pub fn borrow(&self) -> Ref<'_, Option<BlockHeader>> {
| +++
Check warning on line 46 in ton-liteserver-client/src/tracker/find_first_block.rs
github-actions / clippy
called `unwrap` on `block` after checking its variant with `is_ok`
warning: called `unwrap` on `block` after checking its variant with `is_ok`
--> ton-liteserver-client/src/tracker/find_first_block.rs:46:28
|
45 | if block.is_ok() {
| ---------------- help: try: `if let Ok(<item>) = &block`
46 | success = Some(block.as_ref().unwrap().clone());
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_unwrap
= note: `#[warn(clippy::unnecessary_unwrap)]` on by default
Loading