Skip to content

Commit

Permalink
Clippy lints for 1.83 (rust-pcap#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wojtek242 authored Nov 30, 2024
1 parent 66730d8 commit 5ca8629
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/packet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ impl<'a> Packet<'a> {
}
}

impl<'b> Deref for Packet<'b> {
impl Deref for Packet<'_> {
type Target = [u8];

fn deref(&self) -> &[u8] {
Expand Down
1 change: 0 additions & 1 deletion tests/tap_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ mod tests {
* Return as a Capture<Inactive> in case the caller wants to set some
* different options before opening it (maybe?)
*/

fn capture_tap_interface() -> (Capture<pcap::Inactive>, Iface) {
use tun_tap::Mode;

Expand Down

0 comments on commit 5ca8629

Please sign in to comment.