Skip to content

Commit

Permalink
Fix false positives for missing Debug impls.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Oct 28, 2024
1 parent f318fe6 commit eca8a66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions can-socket/src/sys/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ struct can_frame {
pub data: [u8; 8],
}

pub struct Socket {
pub(crate) struct Socket {
fd: FileDesc,
}

#[derive(Copy, Clone)]
pub struct CanFrame {
pub(crate) struct CanFrame {
inner: can_frame
}

#[repr(transparent)]
#[derive(Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct CanInterface {
pub(crate) struct CanInterface {
index: u32,
}

Expand Down

0 comments on commit eca8a66

Please sign in to comment.