Skip to content

Commit

Permalink
fix "leak crate-private type" error in toolchain 1.71.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Thaumy committed Mar 19, 2024
1 parent 0ef09e4 commit 26ce015
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/perf_event/sampling/record/body/read/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub struct Sized {
pub tid: u32,
}

pub struct Raw {
pub(super) struct Raw {
pub read_ptr: *const u8,
pub sample_type: u64,
}
Expand Down
2 changes: 1 addition & 1 deletion src/perf_event/sampling/record/body/sample/raw.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ use std::mem::size_of;
use std::ops::Not;
use std::slice;

pub struct Raw {
pub(super) struct Raw {
pub read_ptr: *const u8,
pub sample_type: u64,
}
Expand Down

0 comments on commit 26ce015

Please sign in to comment.