Skip to content

Conversation

@xanathar
Copy link
Contributor

Super minor change, fixes a warning with latest compiler versions:

warning: hiding a lifetime that's elided elsewhere is confusing
   --> src/lib.rs:555:32
    |
555 | pub fn parse_challenges(input: &str) -> Result<Vec<ChallengeRef>, parser::Error> {
    |                                ^^^^                ------------   ------------- the same lifetime is hidden here
    |                                |                   |
    |                                |                   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
    |
555 | pub fn parse_challenges(input: &str) -> Result<Vec<ChallengeRef<'_>>, parser::Error<'_>> {
    |                                                                ++++                ++++

@scottlamb scottlamb merged commit 42e9163 into scottlamb:main Aug 20, 2025
0 of 3 checks passed
@scottlamb
Copy link
Owner

Thank you!

CI was failing to run on this branch due to a couple other problems: GitHub Actions rot, and a similar error in the fuzz crate. I pushed your commit and a couple others to fix.

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