Skip to content

Conversation

@lazy404
Copy link
Contributor

@lazy404 lazy404 commented Oct 4, 2025

This fixes the

warning: hiding a lifetime that's elided elsewhere is confusing
 --> src/parse.rs:9:35
  |
9 | pub(crate) fn parse_packet(input: &[u8]) -> Result<Packet> {
  |                                   ^^^^^            ------ 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

linter warnings.

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.

1 participant