Skip to content

Unnecessary macro usage in packet.rs #57

@deltronix

Description

@deltronix

The implementations in packet.rs are wrapped in a macro whose only function is to "find/replace" all the lifetime annotations. However these macros are then only called once with the <'a> lifetime. This makes the code harder to read (both by me and the LSP) and does seem to add any functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions