Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(revme): replace structopt with clap #1754

Merged
merged 2 commits into from
Sep 12, 2024

Conversation

DaniPopes
Copy link
Collaborator

structopt has long been discontinued in favor of clap: https://docs.rs/structopt/0.3.26/structopt/index.html#maintenance

@@ -95,7 +95,7 @@ impl<DB: Database> ContextPrecompiles<DB> {

/// Returns precompiles addresses.
#[inline]
pub fn addresses<'a>(&'a self) -> Box<dyn ExactSizeIterator<Item = &Address> + 'a> {
pub fn addresses<'a>(&'a self) -> Box<dyn ExactSizeIterator<Item = &'a Address> + 'a> {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: elided lifetime has a name
  --> crates/revm/src/context/context_precompiles.rs:98:72
   |
98 |     pub fn addresses<'a>(&'a self) -> Box<dyn ExactSizeIterator<Item = &Address> + 'a> {
   |                      -- lifetime `'a` declared here                    ^ this elided lifetime gets resolved as `'a`
   |
   = note: `#[warn(elided_named_lifetimes)]` on by default

@rakita rakita merged commit a914ddd into bluealloy:main Sep 12, 2024
27 checks passed
This was referenced Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants