mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-14 01:51:03 +00:00
fix Rust 1.86.0 clippy (#273)
Signed-off-by: Cyrill Leutwiler <bigcyrill@hotmail.com>
This commit is contained in:
@@ -196,7 +196,7 @@ impl Source {
|
|||||||
_ => None,
|
_ => None,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.last()
|
.next_back()
|
||||||
.ok_or_else(|| anyhow::anyhow!("The last contract not found in the AST"))
|
.ok_or_else(|| anyhow::anyhow!("The last contract not found in the AST"))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user